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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();