Browse Source

Fix crash in non-coop mode

gravgun
mittorn 6 years ago
parent
commit
c6947399ef
  1. 4
      dlls/coop.cpp

4
dlls/coop.cpp

@ -866,6 +866,10 @@ Show checkpoints menu for dead player
bool COOP_PlayerDeath( CBasePlayer *pPlayer ) bool COOP_PlayerDeath( CBasePlayer *pPlayer )
{ {
static bool st_fSkipNext; static bool st_fSkipNext;
if( !mp_coop.value )
return false;
if( st_fSkipNext ) if( st_fSkipNext )
{ {
st_fSkipNext = false; st_fSkipNext = false;

Loading…
Cancel
Save