From 9cff85748f965c9939360e9f0de7fa0877205b27 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Mon, 23 Apr 2018 03:19:31 +0500 Subject: [PATCH] Fix allow_spectators cvar behavior. --- dlls/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/client.cpp b/dlls/client.cpp index 45e78801..27321796 100644 --- a/dlls/client.cpp +++ b/dlls/client.cpp @@ -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.