mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user