mirror of https://github.com/OpenTTD/OpenTTD
Fix #10179: [Script] Only run the Game::GameLoop() in-game
parent
422ff9dbd8
commit
afd57c6fb9
|
@ -1206,7 +1206,7 @@ void StateGameLoop()
|
|||
|
||||
if (!HasModalProgress()) UpdateLandscapingLimits();
|
||||
#ifndef DEBUG_DUMP_COMMANDS
|
||||
Game::GameLoop();
|
||||
if (_game_mode == GM_NORMAL) Game::GameLoop();
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue