From f33963bd7c99b6ce06465e9f408ee0009b039947 Mon Sep 17 00:00:00 2001 From: forest2001 <41653574+realforest2001@users.noreply.github.com> Date: Thu, 6 Jul 2023 17:43:54 +0100 Subject: [PATCH] Fixes dead queen footsteps. (#3815) # About the pull request The corpse of the Queen should not be walking. Fixes https://github.com/cmss13-devs/cmss13/issues/3797 # Explain why it's good for the game Bugs bad. # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: fix: Fixes Queen making footstep sounds while dead and being dragged. /:cl: --- code/datums/components/footstep.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/footstep.dm b/code/datums/components/footstep.dm index 970ab89d961e..0d218ba94da4 100644 --- a/code/datums/components/footstep.dm +++ b/code/datums/components/footstep.dm @@ -31,7 +31,7 @@ return var/mob/living/LM = parent - if(LM.buckled || LM.throwing || LM.is_ventcrawling) + if(LM.buckled || LM.throwing || LM.is_ventcrawling || LM.stat == DEAD) return if(LM.life_steps_total % steps)