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:
parent
81632dda97
commit
b1072d3b09
@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user