Leader2: dont mute admins on sm_forceleader
This commit is contained in:
parent
edf1b7b26c
commit
3f0c92f18f
@ -410,7 +410,7 @@ public Action CheckLeaderVoice(Handle timer)
|
||||
{
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
if(IsClientInGame(i) && !BaseComm_IsClientMuted(i) && i != leaderClient)
|
||||
if(IsClientInGame(i) && !BaseComm_IsClientMuted(i) && i != leaderClient && !CheckCommandAccess(i, "", ADMFLAG_GENERIC))
|
||||
{
|
||||
BaseComm_SetClientMute(i, true);
|
||||
g_bForceMute[i] = true;
|
||||
|
Loading…
Reference in New Issue
Block a user