From 22e2990ee7830346769c84285f099e1fd6457306 Mon Sep 17 00:00:00 2001 From: Poojawa Date: Fri, 14 Sep 2018 07:47:13 -0500 Subject: [PATCH] //USE THIS TO FILL IT, NOT INITIALIZE OR NEW --- code/game/objects/structures/crates_lockers/closets.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index 24d81d4826..622c249b94 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -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()