more new/init fixes

This commit is contained in:
Killian
2022-04-13 03:51:04 +01:00
parent 74947f8d43
commit 39d14dd0ca
7 changed files with 38 additions and 40 deletions
+4 -2
View File
@@ -19,9 +19,11 @@
/obj/structure/catwalk/Initialize()
. = ..()
for(var/obj/structure/catwalk/C in get_turf(src))
//Delete ourselves if we find extra mapped in catwalks
for(var/obj/structure/catwalk/C in loc)
if(C != src)
qdel(C)
log_debug("Duplicate catwalks at [x],[y],[z]")
return INITIALIZE_HINT_QDEL
update_connections(1)
update_icon()
@@ -38,7 +38,7 @@
clothing_possibilities |= /obj/item/device/radio/headset
/obj/structure/ghost_pod/ghost_activated/human/create_occupant(var/mob/M)
..()
. = ..()
var/turf/T = get_turf(src)
var/mob/living/carbon/human/H = new(src)