From 6ca9d86e8f13645fd75d449b644c7b4e247804f5 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 30 Aug 2013 14:14:59 -0400 Subject: [PATCH] Make sm_mapvote_runoffpercent cvar work as advertised (bug 5890, r=asherkin). --- plugins/mapchooser.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index bc58c432..a31a64b7 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -790,7 +790,7 @@ public Handler_MapVoteFinished(Handle:menu, new Float:winningvotes = float(item_info[0][VOTEINFO_ITEM_VOTES]); new Float:required = num_votes * (GetConVarFloat(g_Cvar_RunOffPercent) / 100.0); - if (winningvotes <= required) + if (winningvotes < required) { /* Insufficient Winning margin - Lets do a runoff */ g_VoteMenu = CreateMenu(Handler_MapVoteMenu, MenuAction:MENU_ACTIONS_ALL);