Lockers can now be closed if they are in front of a fireaxe cabinet (or any other closet object which is anchored and as such can not be stored).

This commit is contained in:
Markolie
2014-11-05 18:29:05 +01:00
parent 3c6c11c22d
commit f150cabd19
@@ -42,7 +42,7 @@
/obj/structure/closet/proc/can_close()
for(var/obj/structure/closet/closet in get_turf(src))
if(closet != src)
if(closet != src && closet.anchored != 1)
return 0
return 1