mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
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…
x
Reference in New Issue
Block a user