Prevent Flax tests project overriding the last opened project location

This commit is contained in:
Ari Vuollet
2026-08-16 20:59:25 +03:00
parent 6b5cd3d56d
commit 4ee8169fc9
+2
View File
@@ -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;
}