Fixed crash when launching with --play argument caused by invalid root directoy
This commit is contained in:
@@ -91,7 +91,7 @@ int main(int argc, char* argv[])
|
||||
editor.BuildFonts();
|
||||
|
||||
Ref<Nuake::Project> project = Nuake::Project::New();
|
||||
FileSystem::SetRootDirectory(projectPath );
|
||||
FileSystem::SetRootDirectory(projectPath + "/../");
|
||||
|
||||
project->FullPath = projectPath;
|
||||
project->Deserialize(FileSystem::ReadFile(projectPath, true));
|
||||
|
||||
Reference in New Issue
Block a user