Add message for no first scene.

This commit is contained in:
Chandler Cox
2024-05-22 14:42:20 -05:00
parent 8e4783a0c6
commit aec5ef8332

View File

@@ -132,6 +132,7 @@ namespace FlaxEditor.Modules
var firstScene = Content.Settings.GameSettings.Load().FirstScene;
if (firstScene == Guid.Empty)
{
Editor.LogWarning("No First Scene assigned in Game Settings.");
if (Level.IsAnySceneLoaded)
Editor.Simulation.RequestStartPlayScenes();
return;