mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
Update closets.dm
This commit is contained in:
@@ -156,9 +156,10 @@
|
|||||||
for(var/atom/movable/AM in L)
|
for(var/atom/movable/AM in L)
|
||||||
if(AM != src && insert(AM) == -1) // limit reached
|
if(AM != src && insert(AM) == -1) // limit reached
|
||||||
break
|
break
|
||||||
// for(var/i in reverseRange(L.GetAllContents()))
|
// todo: this should be unnecessary, storage should auto close on move wtf
|
||||||
// var/atom/movable/thing = i
|
for(var/i in reverseRange(L.GetAllContents()))
|
||||||
// SEND_SIGNAL(thing, COMSIG_TRY_STORAGE_HIDE_ALL)
|
var/atom/movable/thing = i
|
||||||
|
SEND_SIGNAL(thing, COMSIG_TRY_STORAGE_HIDE_ALL)
|
||||||
|
|
||||||
/obj/structure/closet/proc/open(mob/living/user, force = FALSE)
|
/obj/structure/closet/proc/open(mob/living/user, force = FALSE)
|
||||||
if(!can_open(user, force))
|
if(!can_open(user, force))
|
||||||
|
|||||||
Reference in New Issue
Block a user