From eb7b3f706f5308d355fd0e2ea2897babe24ad26e Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Thu, 28 Jul 2022 16:17:46 -0700 Subject: [PATCH] Update closets.dm --- code/game/objects/structures/crates_lockers/closets.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index 741b289d97..8e7f5a35f8 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -156,9 +156,10 @@ for(var/atom/movable/AM in L) if(AM != src && insert(AM) == -1) // limit reached break - // for(var/i in reverseRange(L.GetAllContents())) - // var/atom/movable/thing = i - // SEND_SIGNAL(thing, COMSIG_TRY_STORAGE_HIDE_ALL) + // todo: this should be unnecessary, storage should auto close on move wtf + for(var/i in reverseRange(L.GetAllContents())) + var/atom/movable/thing = i + SEND_SIGNAL(thing, COMSIG_TRY_STORAGE_HIDE_ALL) /obj/structure/closet/proc/open(mob/living/user, force = FALSE) if(!can_open(user, force))