mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 08:08:02 +00:00
engine: fix bug where user stucks after loading map/save while being connected to remote server
This commit is contained in:
parent
388cc3061f
commit
69e801d6b8
@ -57,6 +57,8 @@ void COM_NewGame( char const *pMapName )
|
||||
GameState->landmarkName[0] = 0;
|
||||
GameState->loadGame = false;
|
||||
GameState->newGame = true;
|
||||
|
||||
SV_ShutdownGame(); // exit from current game
|
||||
}
|
||||
|
||||
void COM_LoadLevel( char const *pMapName, qboolean background )
|
||||
@ -74,6 +76,8 @@ void COM_LoadLevel( char const *pMapName, qboolean background )
|
||||
GameState->landmarkName[0] = 0;
|
||||
GameState->loadGame = false;
|
||||
GameState->newGame = false;
|
||||
|
||||
SV_ShutdownGame(); // exit from current game
|
||||
}
|
||||
|
||||
void COM_LoadGame( char const *pMapName )
|
||||
|
Loading…
Reference in New Issue
Block a user