Skip to content

Commit

Permalink
Fixes taking control of crit xenos (#4536)
Browse files Browse the repository at this point in the history
# About the pull request

Alright so I did not consider that *all* xenos that did not have a
client and could be taken over would be considered unconscious.

# Explain why it's good for the game

Uuuh you should be able to join as a xeno...


# 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
fix: Fixed taking control of crit xenos
/:cl:
  • Loading branch information
morrowwolf committed Sep 29, 2023
1 parent 4af60f7 commit b9c217b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/gamemodes/cm_initialize.dm
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ Additional game mode variables.
to_chat(xeno_candidate, SPAN_WARNING("You cannot join if the xenomorph is dead."))
return FALSE

if(new_xeno.stat == UNCONSCIOUS)
if(new_xeno.health <= 0)
to_chat(xeno_candidate, SPAN_WARNING("You cannot join if the xenomorph is in critical condition or unconscious."))
return FALSE

Expand Down

0 comments on commit b9c217b

Please sign in to comment.