Dreamchecker part 2 (#8978)

* SHOULD_NOT_OVERRIDE

* SHOULD_BE_PURE

* PRIVATE_PROC

* PROTECTED_PROC

* VAR_FINAL

* i should test my shit before making a pr huh

Co-authored-by: alexkar598 <>
This commit is contained in:
alexkar598
2020-06-23 16:15:39 -04:00
committed by GitHub
parent dab25cb5a6
commit a9545f09e8
12 changed files with 15 additions and 6 deletions

View File

@@ -46,6 +46,7 @@
//This is used so the mc knows when the subsystem sleeps. do not override.
/datum/controller/subsystem/proc/ignite(resumed = 0)
SHOULD_NOT_OVERRIDE(TRUE)
set waitfor = 0
. = SS_SLEEPING
fire(resumed)

View File

@@ -533,6 +533,7 @@ GLOBAL_LIST_EMPTY(the_station_areas)
//DO NOT CALL THIS PROC DIRECTLY, CALL wipe_reservations().
/datum/controller/subsystem/mapping/proc/do_wipe_turf_reservations()
PRIVATE_PROC(TRUE)
UNTIL(initialized) //This proc is for AFTER init, before init turf reservations won't even exist and using this will likely break things.
for(var/i in turf_reservations)
var/datum/turf_reservation/TR = i