Skip to content

Commit

Permalink
[MIRROR] Pete's corpse no longer eats vines (#2221)
Browse files Browse the repository at this point in the history
* Pete's corpse no longer eats vines (#81752)

## About The Pull Request

Pete can no longer eat vines while dead.

<!-- Describe The Pull Request. Please be sure every change is
documented or this
can delay review and even discourage maintainers from merging your PR!
-->

## Why It's Good For The Game


![image](https://github.com/tgstation/tgstation/assets/28870487/b3156bf2-386d-427f-91b8-61a4dfe83424)

This should probably not be happening even though it was funny to watch.
## Changelog
:cl:
fix: Pete can no longer eat vines while dead.
/:cl:

* Pete's corpse no longer eats vines

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Rhials <[email protected]>
  • Loading branch information
3 people authored Mar 2, 2024
1 parent 714ad35 commit a3859de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/basic/farm_animals/goat/_goat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
/// Handles automagically eating a plant when we move into a turf that has one.
/mob/living/basic/goat/proc/on_move(datum/source, atom/entering_loc)
SIGNAL_HANDLER
if(!isturf(entering_loc))
if(!isturf(entering_loc) || stat == DEAD)
return

var/list/edible_plants = list()
Expand Down

0 comments on commit a3859de

Please sign in to comment.