Skip to content

Commit

Permalink
Removes nesting the dead (#3806)
Browse files Browse the repository at this point in the history
# About the pull request

This PR makes it impossible to nest the dead.

# Explain why it's good for the game

Dead people being placed on resin walls to create magical bullet shields
is not the intention of nests.

# 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: Morrow
del: Removed nesting the dead
/:cl:
  • Loading branch information
morrowwolf authored Jul 6, 2023
1 parent 243620b commit 9a27fbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/XenoProcs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
to_chat(src, SPAN_XENONOTICE("This is not a host."))
return

if(current_mob.stat == DEAD)
to_chat(src, SPAN_XENONOTICE("This host is dead."))
return

var/mob/living/carbon/human/host_to_nest = current_mob

var/found_grab = FALSE
Expand Down

0 comments on commit 9a27fbc

Please sign in to comment.