Skip to content

Commit

Permalink
Merge pull request #28 from iBoonie/callvote
Browse files Browse the repository at this point in the history
CallVote client check
  • Loading branch information
sapphonie authored May 9, 2023
2 parents 3277a3f + e05596d commit 1592499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/nativevotes.sp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public Action Command_CallVote(int client, const char[] command, int argc)
return Plugin_Continue;
}

if (Internal_IsVoteInProgress() || Game_IsVoteInProgress())
if (Internal_IsVoteInProgress() || Game_IsVoteInProgress() || !IsClientInGame(client))
{
return Plugin_Handled;
}
Expand Down

0 comments on commit 1592499

Please sign in to comment.