Round start timer now remains at 0 until the round actually starts.

This commit is contained in:
PsiOmegaDelta
2016-04-19 17:46:48 +02:00
committed by Yoshax
parent ebeaddea6e
commit a3f8bc815e
6 changed files with 17 additions and 8 deletions

View File

@@ -12,6 +12,6 @@ datum/controller/transfer_controller/Destroy()
datum/controller/transfer_controller/proc/process()
currenttick = currenttick + 1
if (world.time >= timerbuffer - 600)
if (round_duration_in_ticks >= timerbuffer - 1 MINUTE)
vote.autotransfer()
timerbuffer = timerbuffer + config.vote_autotransfer_interval
timerbuffer = timerbuffer + config.vote_autotransfer_interval