Fixed autoload of project with launch args with the editor

This commit is contained in:
Antoine Pilote
2023-08-13 11:50:06 -04:00
parent 2f0c5794d2
commit 3bafa88066

View File

@@ -153,7 +153,7 @@ int main(int argc, char* argv[])
auto projectFileData = FileSystem::ReadFile(projectPath, true);
try
{
project->Deserialize(projectFileData);
project->Deserialize(json::parse(projectFileData));
project->FullPath = projectPath;
Engine::LoadProject(project);