Browse Source

Fix allow_spectators cvar behavior.

dmc
Night Owl 7 years ago
parent
commit
9cff85748f
  1. 2
      dlls/client.cpp

2
dlls/client.cpp

@ -592,7 +592,7 @@ void ClientCommand( edict_t *pEntity )
return; return;
} }
if( g_bIsThreeWave ) if( g_bIsThreeWave || !allow_spectators.value )
return; return;
//Dont spectate if player is in game in arena. //Dont spectate if player is in game in arena.

Loading…
Cancel
Save