Fixes timer assembly countdown rate

Now counts down 2 per (2-second) tick instead of 1, with a minimum of 6
instead of 5 (5 being identical to 6 with the new rate).
This commit is contained in:
Krausus
2015-08-18 00:00:53 -04:00
parent f582b37c4e
commit 66083d6d6a
+2 -2
View File
@@ -53,7 +53,7 @@
process()
if(timing && (time > 0))
time--
time -= 2 // 2 seconds per process()
if(timing && time <= 0)
timing = repeat
timer_end()
@@ -120,7 +120,7 @@
if(href_list["tp"])
var/tp = text2num(href_list["tp"])
set_time += tp
set_time = min(max(round(set_time), 5), 600)
set_time = min(max(round(set_time), 6), 600)
if(!timing)
time = set_time