mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
move airlock chamber setup out of lateinit (#29672)
* move airlock chamber setup out of lateinit * clean up comment
This commit is contained in:
@@ -23,8 +23,11 @@
|
||||
|
||||
/obj/effect/map_effect/dynamic_airlock/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/obj/effect/map_effect/dynamic_airlock/LateInitialize()
|
||||
. = ..()
|
||||
|
||||
. = INITIALIZE_HINT_QDEL
|
||||
// One helper out of all the connected ones will actually set everything up
|
||||
// and qdel all the connected ones so the linker doesn't attempt to do its
|
||||
// thing more than once per zone
|
||||
@@ -34,6 +37,8 @@
|
||||
var/datum/dynamic_airlock_linker/linker = new()
|
||||
linker.build(src)
|
||||
|
||||
qdel(src)
|
||||
|
||||
/obj/effect/map_effect/dynamic_airlock/proc/collect_sibling_item(atom/A)
|
||||
if(is_type_in_list(A, valid_siblings))
|
||||
LAZYADD(sibling_items, A)
|
||||
|
||||
Reference in New Issue
Block a user