mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-18 21:32:14 +00:00
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.
17 lines
443 B
Plaintext
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()
|