mirror of
https://github.com/KabKebab/GS13.git
synced 2026-02-08 22:57:36 +00:00
Merge pull request #1117 from ArchieBeepBoop/densemotherfucker
Fixes Railings and Rods
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
/obj/effect/light_emitter/tendril,
|
||||
/obj/effect/collapse,
|
||||
/obj/effect/particle_effect/ion_trails,
|
||||
/obj/effect/dummy/phased_mob
|
||||
/obj/effect/dummy/phased_mob,
|
||||
/obj/effect/immovablerod
|
||||
))
|
||||
|
||||
/datum/component/chasm/Initialize(turf/target)
|
||||
|
||||
@@ -25,12 +25,11 @@
|
||||
rad_flags = RAD_PROTECT_CONTENTS
|
||||
var/check = 0
|
||||
|
||||
|
||||
/obj/structure/railing/CanPass(atom/movable/mover, turf/target)
|
||||
if(istype(mover) && (mover.pass_flags & PASSGLASS))
|
||||
return 1
|
||||
if(get_dir(loc, target) == dir)
|
||||
return !density
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/obj/structure/railing/CheckExit(atom/movable/O, turf/target)
|
||||
|
||||
Reference in New Issue
Block a user