Refactors roundstart checks slightly

This commit is contained in:
CitadelStationBot
2017-04-26 17:06:29 -05:00
parent e7df2bc14a
commit 08a01aa11b
19 changed files with 59 additions and 19 deletions
@@ -148,7 +148,7 @@
return 1
if(href_list["late_join"])
if(!SSticker || SSticker.current_state != GAME_STATE_PLAYING)
if(!SSticker || !SSticker.IsRoundInProgress())
to_chat(usr, "<span class='danger'>The round is either not ready, or has already finished...</span>")
return