Remove skipcompile when -play is used.
This commit is contained in:
@@ -518,12 +518,6 @@ bool Editor::Init()
|
|||||||
exit(failed ? 1 : 0);
|
exit(failed ? 1 : 0);
|
||||||
return true;
|
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
|
// If during last lightmaps baking engine crashed we could try to restore the progress
|
||||||
ShadowsOfMordor::Builder::Instance()->CheckIfRestoreState();
|
ShadowsOfMordor::Builder::Instance()->CheckIfRestoreState();
|
||||||
@@ -541,7 +535,7 @@ bool Editor::Init()
|
|||||||
Managed->Init();
|
Managed->Init();
|
||||||
|
|
||||||
// Start play if requested by cmd line
|
// Start play if requested by cmd line
|
||||||
if (CommandLine::Options.Game.HasValue())
|
if (CommandLine::Options.Play.HasValue())
|
||||||
{
|
{
|
||||||
Managed->RequestStartPlayOnEditMode();
|
Managed->RequestStartPlayOnEditMode();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user