Ignore override.cfg when in editor

This commit is contained in:
kobewi
2021-11-22 16:10:31 +01:00
parent 29a2561f77
commit 7dc97d6558
3 changed files with 11 additions and 11 deletions

View File

@ -1136,7 +1136,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
FileAccess::make_default<FileAccessNetwork>(FileAccess::ACCESS_RESOURCES);
}
if (globals->setup(project_path, main_pack, upwards) == OK) {
if (globals->setup(project_path, main_pack, upwards, editor) == OK) {
#ifdef TOOLS_ENABLED
found_project = true;
#endif