//USE THIS TO FILL IT, NOT INITIALIZE OR NEW

This commit is contained in:
Poojawa
2018-09-14 07:47:13 -05:00
parent 39ed9b7296
commit 22e2990ee7
@@ -37,11 +37,11 @@
/obj/structure/closet/Initialize(mapload)
if(mapload && !opened) // if closed, any item at the crate's loc is put in the contents
addtimer(CALLBACK(src, .proc/take_contents), 0)
. = ..()
update_icon()
PopulateContents()
if(mapload && !opened) // if closed, any item at the crate's loc is put in the contents
take_contents()
//USE THIS TO FILL IT, NOT INITIALIZE OR NEW
/obj/structure/closet/proc/PopulateContents()