mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user