1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 07:59:09 +00:00

Fix: Crash when failing to load a game into a dedicated server at startup (#11021)

Using the -g switch
This commit is contained in:
Jonathan G Rennison
2023-06-16 19:41:26 +01:00
committed by GitHub
parent ed06c6bdcf
commit ee8b03e8da

View File

@@ -1511,6 +1511,7 @@ void GameLoop()
if (_switch_mode != SM_NONE && !HasModalProgress()) {
SwitchToMode(_switch_mode);
_switch_mode = SM_NONE;
if (_exit_game) return;
}
IncreaseSpriteLRU();