Fix gc issue with RD armor spawner (#18541)

This commit is contained in:
moxian
2022-07-24 19:12:46 +00:00
committed by GitHub
parent 20d484b181
commit 70dbfc468d
3 changed files with 3 additions and 4 deletions
@@ -59,7 +59,6 @@
/obj/item/clothing/head/helmet/space/plasmaman/update_icon_state()
icon_state = "[initial(icon_state)][on ? "-light":""]"
item_state = icon_state
actions_types = list(/datum/action/item_action/toggle_helmet_light)
/obj/item/clothing/head/helmet/space/plasmaman/update_overlays()
. = ..()
+1 -1
View File
@@ -449,7 +449,7 @@
. = ..()
var/spawnpath = pick(subtypesof(/obj/item/clothing/suit/armor/reactive) - /obj/item/clothing/suit/armor/reactive/random)
new spawnpath(loc)
qdel(src)
return INITIALIZE_HINT_QDEL
//All of the armor below is mostly unused