From fb418d1e8b38ea9e67b29309e1e07129b5da195d Mon Sep 17 00:00:00 2001 From: Dogan Date: Sun, 1 Sep 2019 20:27:18 +0200 Subject: [PATCH] Leader2: first 2 fixes --- Leader2/scripting/Leader2.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Leader2/scripting/Leader2.sp b/Leader2/scripting/Leader2.sp index e9077c9d..20ea523f 100644 --- a/Leader2/scripting/Leader2.sp +++ b/Leader2/scripting/Leader2.sp @@ -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))