Replaces GoonPS scheduled_tasks and obj processing with SMC processing subsystems and timer

This commit is contained in:
Neerti
2018-12-10 15:28:19 -05:00
committed by Novacat
parent 1578c5c3c9
commit 86174593bf
154 changed files with 2639 additions and 1084 deletions

View File

@@ -31,7 +31,7 @@
cameras() // Sets up both cameras and last alarm area.
set_source_data(source, duration, severity, hidden)
/datum/alarm/proc/process()
/datum/alarm/process()
// Has origin gone missing?
if(!origin && !end_time)
end_time = world.time + ALARM_RESET_DELAY

View File

@@ -7,7 +7,7 @@
var/list/datum/alarm/alarms_assoc = new // Associative list of alarms, to efficiently acquire them based on origin.
var/list/listeners = new // A list of all objects interested in alarm changes.
/datum/alarm_handler/proc/process()
/datum/alarm_handler/process()
for(var/datum/alarm/A in alarms)
A.process()
check_alarm_cleared(A)