forked from mirror/OpenTTD
Fix: [Script] Only run the Game::GameLoop() in-game (#13896)
This commit is contained in:
@@ -1209,7 +1209,7 @@ void StateGameLoop()
|
||||
|
||||
if (!HasModalProgress()) UpdateLandscapingLimits();
|
||||
#ifndef DEBUG_DUMP_COMMANDS
|
||||
Game::GameLoop();
|
||||
if (_game_mode == GM_NORMAL) Game::GameLoop();
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user