Fix: Crash when failing to load a game into a dedicated server at startup

Using the -g switch
This commit is contained in:
Jonathan G Rennison
2023-06-16 17:39:31 +01:00
parent 7af34aaadd
commit afe5af5dbb

View File

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