From ce3caede6c5aaa328936ec0a227238a0d53d0184 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Sun, 23 May 2021 19:32:45 +0200 Subject: [PATCH] Remove skipcompile when -play is used. --- Source/Editor/Editor.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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(); }