mirror of https://github.com/FWGS/hlsdk-xash3d
Fix allow_spectators cvar behavior.
This commit is contained in:
parent
5c2bff7b28
commit
9cff85748f
|
@ -592,7 +592,7 @@ void ClientCommand( edict_t *pEntity )
|
|||
return;
|
||||
}
|
||||
|
||||
if( g_bIsThreeWave )
|
||||
if( g_bIsThreeWave || !allow_spectators.value )
|
||||
return;
|
||||
|
||||
//Dont spectate if player is in game in arena.
|
||||
|
|
Loading…
Reference in New Issue