Fix: Crash when failing to load a game into a dedicated server at startup
Using the -g switch
This commit is contained in:
@@ -2189,6 +2189,7 @@ void GameLoop()
|
|||||||
if (_switch_mode != SM_NONE && !HasModalProgress()) {
|
if (_switch_mode != SM_NONE && !HasModalProgress()) {
|
||||||
SwitchToMode(_switch_mode);
|
SwitchToMode(_switch_mode);
|
||||||
_switch_mode = SM_NONE;
|
_switch_mode = SM_NONE;
|
||||||
|
if (_exit_game) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
IncreaseSpriteLRU();
|
IncreaseSpriteLRU();
|
||||||
|
Reference in New Issue
Block a user