From 82e16db27572b1914bd8f5783f0cec086be62ee4 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Mon, 12 Aug 2013 00:58:43 +0100 Subject: [PATCH] Fixed sm_cancelvote not resetting rtv state. (bug 5808, r=asherkin) --- plugins/mapchooser.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index bc58c432..e07dcffc 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -879,7 +879,8 @@ public Handler_MapVoteMenu(Handle:menu, MenuAction:action, param1, param2) GetMenuItem(menu, item, map, sizeof(map)); } - SetNextMap(map); + SetNextMap(map); + g_MapVoteCompleted = true; } else { @@ -887,7 +888,6 @@ public Handler_MapVoteMenu(Handle:menu, MenuAction:action, param1, param2) } g_HasVoteStarted = false; - g_MapVoteCompleted = true; } }