mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user