mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #6564 from TwistedAkai/master
Add round start check to Declare Ready
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user