Items in boxes now properly spawn with the IN_STORAGE flag (#63526)

sets flags properly
Fixes #57644
This commit is contained in:
Seth Scherer
2021-12-22 10:22:35 +00:00
committed by GitHub
parent 87466aafdc
commit 3a35c05220
@@ -15,6 +15,8 @@
/obj/item/storage/Initialize(mapload)
. = ..()
PopulateContents()
for (var/obj/item/item in src)
item.item_flags |= IN_STORAGE
/obj/item/storage/ComponentInitialize()
AddComponent(component_type)