Update closets.dm

This commit is contained in:
silicons
2022-07-28 16:17:46 -07:00
committed by GitHub
parent f98e15fe63
commit eb7b3f706f

View File

@@ -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))