removes fourth argument air_group of CanPass() as it's not used and is a leftover from FEA

This commit is contained in:
uraniummeltdown
2017-03-10 22:46:02 +04:00
parent 98526aa020
commit 9eb7eea1e9
25 changed files with 50 additions and 57 deletions
@@ -34,8 +34,8 @@
/obj/structure/closet/alter_health()
return get_turf(src)
/obj/structure/closet/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if(air_group || (height==0 || wall_mounted)) return 1
/obj/structure/closet/CanPass(atom/movable/mover, turf/target, height=0)
if(height==0 || wall_mounted) return 1
return (!density)
/obj/structure/closet/proc/can_open()