Fix crash when starting a game in fullscreen mode

qteditor
Lukas Werling 2016-06-20 16:55:23 +02:00
parent b853f99b28
commit fc10992ab7
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ void C4Application::GameTick()
AppState = C4AS_Game;
#ifdef WITH_QT_EDITOR
// Notify console
::Console.OnStartGame();
if (isEditor) ::Console.OnStartGame();
#endif
// first-time game initialization
if (!Game.Init())