Ensures stacks GC when merged in a storage (#17506)

This commit is contained in:
Farie82
2022-04-22 11:40:11 +01:00
committed by GitHub
parent 7189ae5d65
commit 4c1f40f69f
+3
View File
@@ -165,6 +165,9 @@ GLOBAL_DATUM_INIT(fire_overlay, /image, image("icon" = 'icons/goonstation/effect
if(ismob(loc))
var/mob/m = loc
m.unEquip(src, 1)
else if(istype(loc, /obj/item/storage))
var/obj/item/storage/S = loc
S.remove_from_storage(src)
QDEL_LIST(actions)
master = null
return ..()