Leader2: first 2 fixes
This commit is contained in:
parent
37eb0e301b
commit
fb418d1e8b
@ -370,7 +370,7 @@ public Action OnToggleForceLeader(int client, int args)
|
||||
{
|
||||
if(leaderClient == -1)
|
||||
{
|
||||
ReplyToCommand(client, "[SM] Cannot use this when there is no leader at the moment");
|
||||
ReplyToCommand(client, "[SM] Cannot use this when there is no leader at the moment.");
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
@ -403,7 +403,7 @@ public void ToggleForceLeader(int client)
|
||||
|
||||
public Action CheckLeaderVoice(Handle timer)
|
||||
{
|
||||
if(!g_bForceLeader)
|
||||
if(!g_bForceLeader || leaderClient == -1)
|
||||
return Plugin_Continue;
|
||||
|
||||
if(IsClientTalking(leaderClient))
|
||||
|
Loading…
Reference in New Issue
Block a user