From 5d7e9abbef0513d578a24b9cff0247e014280cc9 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Fri, 1 Oct 2021 02:05:49 -0400 Subject: [PATCH] Oops Fix for missing log entry --- Classic/scripts/autoexec/VoteMenu.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Classic/scripts/autoexec/VoteMenu.cs b/Classic/scripts/autoexec/VoteMenu.cs index e9e44e2..2f54e27 100644 --- a/Classic/scripts/autoexec/VoteMenu.cs +++ b/Classic/scripts/autoexec/VoteMenu.cs @@ -782,16 +782,17 @@ function DefaultGame::voteKickPlayer(%game, %admin, %client) { %team = %client.team; %totalVotes = %game.votesFor[%game.kickTeam] + %game.votesAgainst[%game.kickTeam]; + %cause = "(vote)"; if(%totalVotes > 0 && (%game.votesFor[%game.kickTeam] / %totalVotes) > ($Host::VotePasspercent / 100)) { kick(%client, %admin, %game.kickGuid); - %cause = "(vote)"; %key = "Passed"; } else { - for ( %idx = 0; %idx < ClientGroup.getCount(); %idx++ ) + + for ( %idx = 0; %idx < ClientGroup.getCount(); %idx++ ) { %cl = ClientGroup.getObject( %idx );