From 1f6c1467ca7a0c0e3bfc695b78ffa2e755b31a72 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Tue, 4 Jul 2023 03:10:30 -0400 Subject: [PATCH] Fixed crash when launching with --play argument caused by invalid root directoy --- Editor/Editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index d65934cd..b15649f2 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -91,7 +91,7 @@ int main(int argc, char* argv[]) editor.BuildFonts(); Ref project = Nuake::Project::New(); - FileSystem::SetRootDirectory(projectPath ); + FileSystem::SetRootDirectory(projectPath + "/../"); project->FullPath = projectPath; project->Deserialize(FileSystem::ReadFile(projectPath, true));