mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-10 08:17:05 +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:
parent
ed06c6bdcf
commit
ee8b03e8da
@ -1511,6 +1511,7 @@ void GameLoop()
|
||||
if (_switch_mode != SM_NONE && !HasModalProgress()) {
|
||||
SwitchToMode(_switch_mode);
|
||||
_switch_mode = SM_NONE;
|
||||
if (_exit_game) return;
|
||||
}
|
||||
|
||||
IncreaseSpriteLRU();
|
||||
|
Loading…
Reference in New Issue
Block a user