Port: major fixes of SStimer subsystem from RU SS220 Paradise based on SStimer from TGstation (#16200)

Co-authored-by: Simon Ogorodnik <simon.ogorodnik@gmail.com>
This commit is contained in:
Aziz Chynaliev
2021-12-07 08:15:50 +01:00
committed by GitHub
co-authored by Simon Ogorodnik
parent 2062178c76
commit e5c97ad0bf
4 changed files with 394 additions and 258 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
active_timers = null
for(var/thing in timers)
var/datum/timedevent/timer = thing
if(timer.spent)
if(timer.spent && !(timer.flags & TIMER_DELETE_ME))
continue
qdel(timer)