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
This commit is contained in:
Matt Woodrow 2008-07-10 01:11:51 +00:00
parent 81632dda97
commit b1072d3b09

View File

@ -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.
}
}
}