diff --git a/Source/Editor/Editor.cpp b/Source/Editor/Editor.cpp index 2284478dd..69963aa66 100644 --- a/Source/Editor/Editor.cpp +++ b/Source/Editor/Editor.cpp @@ -519,6 +519,11 @@ bool Editor::Init() return true; } + if (CommandLine::Options.Game.HasValue()) + { + CommandLine::Options.SkipCompile.SetValue(true); + } + // If during last lightmaps baking engine crashed we could try to restore the progress ShadowsOfMordor::Builder::Instance()->CheckIfRestoreState(); @@ -534,6 +539,11 @@ bool Editor::Init() // Initialize managed editor Managed->Init(); + if (CommandLine::Options.Game.HasValue()) + { + Managed->RequestStartPlay(); + } + return false; }