1
0
Fork 0

Fix: [Script] Only run the Game::GameLoop() in-game (#13896)

pull/13963/head
SamuXarick 2025-04-04 16:29:48 +01:00 committed by GitHub
parent 4bd72e4a78
commit 4310d7c7f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1209,7 +1209,7 @@ void StateGameLoop()
if (!HasModalProgress()) UpdateLandscapingLimits();
#ifndef DEBUG_DUMP_COMMANDS
Game::GameLoop();
if (_game_mode == GM_NORMAL) Game::GameLoop();
#endif
return;
}