From 62b47fa65b40eaeff893b85282a300236b31855d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Thu, 20 May 2021 17:30:43 +0200 Subject: [PATCH] Comments. --- Source/Editor/Editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Editor/Editor.cpp b/Source/Editor/Editor.cpp index 69963aa66..1249e1b5e 100644 --- a/Source/Editor/Editor.cpp +++ b/Source/Editor/Editor.cpp @@ -519,6 +519,7 @@ bool Editor::Init() return true; } + // Skip compilation if play on start if (CommandLine::Options.Game.HasValue()) { CommandLine::Options.SkipCompile.SetValue(true); @@ -539,6 +540,7 @@ bool Editor::Init() // Initialize managed editor Managed->Init(); + // Start play if requested by cmd line if (CommandLine::Options.Game.HasValue()) { Managed->RequestStartPlay();