tump buckets and force the failsafe to trigger

This commit is contained in:
Poojawa
2018-02-04 04:58:43 -06:00
parent 4581364afd
commit 8c48f46dd0
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -65,6 +65,7 @@ SUBSYSTEM_DEF(ticker)
var/end_state = "undefined"
var/modevoted = FALSE //Have we sent a vote for the gamemode?
var/tumpedbuckets = FALSE //Have we tumped over buckets?
//Crew Objective/Miscreant stuff
var/list/crewobjlist = list()
@@ -159,6 +160,8 @@ SUBSYSTEM_DEF(ticker)
fire()
if(GAME_STATE_PREGAME)
//lobby stats for statpanels
if(!tumpedbuckets)
SStimer.tump_buckets()
if(!modevoted)
send_gamemode_vote()
if(isnull(timeLeft))
+3
View File
@@ -511,6 +511,9 @@ SUBSYSTEM_DEF(timer)
return TRUE
return FALSE
/datum/controller/subsystem/timer/proc/tump_buckets()
reset_buckets()
SSticker.tumpedbuckets = TRUE
#undef BUCKET_LEN
#undef BUCKET_POS