From 01f4b204c95bd6d1369e50a93a51dd30840dfe32 Mon Sep 17 00:00:00 2001 From: Ross Bemrose Date: Wed, 17 Dec 2014 16:05:14 -0500 Subject: [PATCH] Added two items missed in the original conversion with the Runoff vote. --- plugins/mapchooser.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index f9e5dcd0..3d38b2e8 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -791,9 +791,9 @@ public void Handler_MapVoteFinished(Menu menu, if (winningvotes < required) { /* Insufficient Winning margin - Lets do a runoff */ - g_VoteMenu = CreateMenu(Handler_MapVoteMenu, MENU_ACTIONS_ALL); + g_VoteMenu = new Menu(Handler_MapVoteMenu, MENU_ACTIONS_ALL); g_VoteMenu.SetTitle("Runoff Vote Nextmap"); - SetVoteResultCallback(g_VoteMenu, Handler_VoteFinishedGeneric); + g_VoteMenu.VoteResultCallback = Handler_VoteFinishedGeneric; char map[PLATFORM_MAX_PATH]; char info1[PLATFORM_MAX_PATH];