Refactors roundstart checks slightly (#26131)

* Refactors roundstart checks slightly

* Fix
This commit is contained in:
Cyberboss
2017-04-27 10:05:40 +12:00
committed by oranges
parent 729010bbb2
commit 6c6fc719ec
18 changed files with 28 additions and 25 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ GLOBAL_LIST(external_rsc_urls)
holder.owner = null
GLOB.admins -= src
if (!GLOB.admins.len && SSticker.current_state == GAME_STATE_PLAYING) //Only report this stuff if we are currently playing.
if (!GLOB.admins.len && SSticker.IsRoundInProgress()) //Only report this stuff if we are currently playing.
if(!GLOB.admins.len) //Apparently the admin logging out is no longer an admin at this point, so we have to check this towards 0 and not towards 1. Awell.
var/cheesy_message = pick(
"I have no admins online!",\