From 4ee8169fc95bde9c86288290476ea0c145559dc9 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Sun, 16 Aug 2026 20:59:25 +0300 Subject: [PATCH] Prevent Flax tests project overriding the last opened project location --- Source/Editor/Editor.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }