mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
fixes bots getting stuck on railings and crashing clients (#63306)
Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
@@ -82,6 +82,11 @@
|
||||
return . || mover.throwing || mover.movement_type & (FLYING | FLOATING)
|
||||
return TRUE
|
||||
|
||||
/obj/structure/railing/CanAStarPass(obj/item/card/id/ID, to_dir, atom/movable/caller)
|
||||
if (to_dir & dir)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
/obj/structure/railing/proc/on_exit(datum/source, atom/movable/leaving, direction)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user