Merge pull request #6564 from TwistedAkai/master

Add round start check to Declare Ready
This commit is contained in:
Zuhayr
2014-10-02 11:44:07 +09:30

View File

@@ -95,7 +95,10 @@
return 1
if(href_list["ready"])
ready = !ready
if(!ticker || ticker.current_state <= GAME_STATE_PREGAME) // Make sure we don't ready up after the round has started
ready = !ready
else
ready = 0
if(href_list["refresh"])
src << browse(null, "window=playersetup") //closes the player setup window