Files
Aurora.3/code/controllers/subsystems/evac.dm
Matt Atlas d596fd831e Fixes subsystem issues and other timer bugfixes (#13061)
* Debug code to figure out why timer fire isn't yielding

* please man

* thing 2

* BALLS

* BALLS 2

* correction

* remove debug shitcode

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2022-02-05 02:07:06 -03:00

18 lines
458 B
Plaintext

var/datum/controller/subsystem/evac/SSevac
/datum/controller/subsystem/evac
name = "Evacuation"
priority = SS_PRIORITY_EVAC
//Initializes at default time
flags = SS_BACKGROUND
wait = 2 SECONDS
/datum/controller/subsystem/evac/Initialize()
. = ..()
if(!evacuation_controller)
evacuation_controller = new current_map.evac_controller_type ()
evacuation_controller.set_up()
/datum/controller/subsystem/evac/fire()
evacuation_controller.process()