Large Cage Bugfixes (#22895)

Fixes large cages destroying the universe.

changes:
- bugfix: "Fixed captured creatures in large animal traps/cages
potentially causing runtimes when the cage was placed on tables or
racks."
- bugfix: "Fixed dragging large animal traps/cages onto tables or racks
being treated as the mover trying to step through the trap."
This commit is contained in:
Batrachophreno
2026-07-25 13:00:13 +00:00
committed by GitHub
parent df2e759477
commit c8fe437d94
3 changed files with 61 additions and 13 deletions
+5
View File
@@ -66,6 +66,11 @@
/obj/structure/table/proc/on_entered(datum/source, atom/movable/arrived, atom/old_loc, list/atom/old_locs)
SIGNAL_HANDLER
if(isliving(arrived))
var/mob/living/L = arrived
if(L.buckled_to)
return
if(ishuman(arrived))
var/mob/living/carbon/human/H = arrived
if(H.a_intent != I_HELP || H.m_intent == M_RUN)