Files
Aurora.3/code/controllers/subsystems/evac.dm
Fluffy 7265630dde Turn more unmanaged global vars into GLOB (#20446)
Turned a ton of unmanaged globals into managed globals.
Refactored some UT output.
Removed some unused things, including vars.
Added a test to ensure people don't keep adding new unmanaged vars.
2025-02-17 23:34:02 +00:00

17 lines
443 B
Plaintext

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