From b1072d3b09d971c558121a59599bcb7385d4cbff Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Thu, 10 Jul 2008 01:11:51 +0000 Subject: [PATCH] Fixed amb1838 - Mapchooser should not instantly start a new vote if the current one was cancelled (and caused a stack overflow) --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402392 --- plugins/mapchooser.sp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index 9b71d3ef..395a93a6 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -745,10 +745,7 @@ public Handler_MapVoteMenu(Handle:menu, MenuAction:action, param1, param2) } else { - // We were actually cancelled. What should we do? - g_HasVoteStarted = false; - CreateNextVote(); - SetupTimeleftTimer(); + // We were actually cancelled. I guess we do nothing. } } }