Closets no longer try to insert themselves (#25726)

This commit is contained in:
Cyberboss
2017-04-01 11:14:29 -04:00
committed by KorPhaeron
parent 8b8b9f54b5
commit 50d41ac3aa
@@ -122,7 +122,7 @@
/obj/structure/closet/proc/take_contents()
var/turf/T = get_turf(src)
for(var/atom/movable/AM in T)
if(insert(AM) == -1) // limit reached
if(AM != src && insert(AM) == -1) // limit reached
break
/obj/structure/closet/proc/open(mob/living/user)