Fixes migos dodging while dead (#30787)

This commit is contained in:
PollardTheDragon
2025-10-26 12:58:14 +00:00
committed by GitHub
parent 3e7c8e4408
commit 4688ad5647
@@ -181,7 +181,7 @@
make_migo_sound()
/mob/living/basic/netherworld/migo/Move(atom/newloc, dir, step_x, step_y)
if(!ckey && prob(dodge_prob) && moving_diagonally == 0 && isturf(loc) && isturf(newloc))
if(!ckey && prob(dodge_prob) && moving_diagonally == 0 && isturf(loc) && isturf(newloc) && stat != DEAD)
return dodge(newloc, dir)
else
return ..()