Skip to content

Commit

Permalink
Fixes dead queen footsteps. (#3815)
Browse files Browse the repository at this point in the history
# About the pull request
The corpse of the Queen should not be walking. Fixes
#3797
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game
Bugs bad.
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: Fixes Queen making footstep sounds while dead and being dragged.
/:cl:
  • Loading branch information
realforest2001 committed Jul 6, 2023
1 parent 1bb219e commit f33963b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/footstep.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f33963b

Please sign in to comment.