Leader2: dont mute admins on sm_forceleader
This commit is contained in:
parent
0a2b8ea717
commit
fd7ddd5508
@ -410,7 +410,7 @@ public Action CheckLeaderVoice(Handle timer)
|
|||||||
{
|
{
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
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);
|
BaseComm_SetClientMute(i, true);
|
||||||
g_bForceMute[i] = true;
|
g_bForceMute[i] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user