diff --git a/Source/Editor/Editor.cpp b/Source/Editor/Editor.cpp index c90e80e70..1b18034c4 100644 --- a/Source/Editor/Editor.cpp +++ b/Source/Editor/Editor.cpp @@ -518,12 +518,6 @@ bool Editor::Init() exit(failed ? 1 : 0); return true; } - - // Skip compilation if play on start - 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(); @@ -541,7 +535,7 @@ bool Editor::Init() Managed->Init(); // Start play if requested by cmd line - if (CommandLine::Options.Game.HasValue()) + if (CommandLine::Options.Play.HasValue()) { Managed->RequestStartPlayOnEditMode(); }