mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Anti Turret Cheese (#9915)
This commit is contained in:
@@ -86,6 +86,8 @@
|
||||
|
||||
/obj/structure/closet/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
|
||||
if(air_group || (height==0 || wall_mounted)) return 1
|
||||
if(istype(mover) && mover.checkpass(PASSTRACE))
|
||||
return 1
|
||||
return (!density)
|
||||
|
||||
/obj/structure/closet/proc/can_open()
|
||||
|
||||
Reference in New Issue
Block a user