1
0
Fork 0

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

Using the -g switch
pull/11023/head
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
1 changed files with 1 additions and 0 deletions

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