diff --git a/Source/Editor/Editor.cpp b/Source/Editor/Editor.cpp index 18bf43a3a..f3065c1a1 100644 --- a/Source/Editor/Editor.cpp +++ b/Source/Editor/Editor.cpp @@ -642,9 +642,11 @@ int32 Editor::LoadProduct() } } +#if !FLAX_TESTS // Update the last opened project path if (lastProjectPath.Compare(Project->ProjectFolderPath) != 0) File::WriteAllText(lastProjectSettingPath, Project->ProjectFolderPath, Encoding::UTF8); +#endif return 0; }