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();
|
if (!HasModalProgress()) UpdateLandscapingLimits();
|
||||||
#ifndef DEBUG_DUMP_COMMANDS
|
#ifndef DEBUG_DUMP_COMMANDS
|
||||||
Game::GameLoop();
|
if (_game_mode == GM_NORMAL) Game::GameLoop();
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue