Matriarch Fix (#18092)

This commit is contained in:
Geeves
2023-12-30 19:21:53 +00:00
committed by GitHub
parent c28afc967b
commit 8cd6c1fa9f
4 changed files with 13 additions and 4 deletions
@@ -5,6 +5,9 @@ SUBSYSTEM_DEF(misc_late)
init_order = SS_INIT_MISC
flags = SS_NO_FIRE | SS_NO_DISPLAY
/// this is a list of things that fire when late misc init is called
var/list/late_misc_firers
/datum/controller/subsystem/misc_late/Initialize(timeofday)
// Setup the teleport locs.
for(var/area/AR as anything in GLOB.the_station_areas)
@@ -27,9 +30,9 @@ SUBSYSTEM_DEF(misc_late)
populate_code_phrases()
// this covers mapped in drone fabs
for(var/atom/thing as anything in SSatoms.late_loaders)
for(var/atom/thing as anything in late_misc_firers)
thing.do_late_fire()
LAZYREMOVE(SSatoms.late_loaders, thing)
LAZYREMOVE(late_misc_firers, thing)
if (GLOB.config.use_forumuser_api)
update_admins_from_api(TRUE)
+1 -1
View File
@@ -729,7 +729,7 @@
if(SSticker.current_state == GAME_STATE_PLAYING)
do_late_fire()
return
LAZYADD(SSatoms.late_loaders, src)
LAZYADD(SSmisc_late.late_misc_firers, src)
/atom/proc/do_late_fire()
return
@@ -51,7 +51,7 @@ do { \
run_generator()
/obj/effect/mazegen/generator/Destroy()
LAZYREMOVE(SSatoms.late_loaders, src)
LAZYREMOVE(SSmisc_late.late_misc_firers, src)
return ..()
// "Push" a turf to the working "stack"
+6
View File
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "Fixed the matriarch drone slot not opening correctly."