Fix crash on project files import in EditorFileSystem

Fixes #40017
This commit is contained in:
PouleyKetchoupp 2020-07-04 16:06:56 +02:00
parent 0a8dbe7f75
commit 759fef5401

View file

@ -1107,7 +1107,7 @@ void EditorFileSystem::_notification(int p_what) {
_queue_update_script_classes();
first_scan = false;
}
} else if (!scanning) {
} else if (!scanning && thread) {
set_process(false);
if (filesystem) {