mirror of https://github.com/OpenTTD/OpenTTD
Fix: [Script] Only run the Game::GameLoop() in-game (#13896)
parent
4bd72e4a78
commit
4310d7c7f5
|
@ -1209,7 +1209,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