This commit is contained in:
Aurorablade
2016-10-12 20:37:09 -04:00
61 changed files with 766 additions and 709 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
/datum/controller/process/fast_process/statProcess()
..()
stat(null, "[fast_processing.len] fast machines")
stat(null, "[fast_processing.len] fast processes")
/datum/controller/process/fast_process/doWork()
for(last_object in fast_processing)
+5
View File
@@ -79,6 +79,11 @@ var/global/datum/controller/process/timer/timer_master
return event.id
/proc/deltimer(id)
if(id == 0)
// No event will correspond to an id of 0 - the timer does not exist
// Save us a possibly expensive iteration through the timer list
// This would probably be more efficient in general if we used an associative list instead
return 0
for(var/datum/timedevent/event in timer_master.processing_timers)
if(event.id == id)
qdel(event)