mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 11:58:39 +01:00
Implements PASSRAILING as a new pass flag (#14009)
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
/obj/structure/railing/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
|
||||
if(istype(mover,/obj/item/projectile))
|
||||
return TRUE
|
||||
if(!istype(mover) || mover.checkpass(PASSTABLE))
|
||||
if(!istype(mover) || mover.checkpass(PASSRAILING))
|
||||
return TRUE
|
||||
if(get_dir(loc, target) == dir)
|
||||
return !density
|
||||
|
||||
Reference in New Issue
Block a user