Skip to content

Commit

Permalink
Fixes synths being unlungeable while in "critical state" (#5303)
Browse files Browse the repository at this point in the history
# About the pull request

Synths were given immunity to dragging from old code back when they
could go into 'crit' so they dont get dragged to hell, however they no
longer have a crit state but still keep the immunity lunges also do not
work because of this. this is not intended.

# Explain why it's good for the game

bugfix


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>
yeah i tested it also no you cant get dragged while dead

</details>


# Changelog
:cl:
fix: Synths are no longer immune to lunges / dragging while in 'critical
state' since they dont go into crit.
/:cl:

Co-authored-by: InsaneRed <[email protected]>
  • Loading branch information
Red-byte3D and InsaneRed authored Dec 27, 2023
1 parent b6245a6 commit fa754d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/modules/mob/living/carbon/xenomorph/Xenomorph.dm
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,6 @@
if(!isliving(AM))
return FALSE
var/mob/living/L = AM
if(issynth(L) && L.health < 0) // no pulling critted or dead synths
return FALSE
if(L.buckled)
return FALSE //to stop xeno from pulling marines on roller beds.
if(!L.is_xeno_grabbable())
Expand Down

0 comments on commit fa754d7

Please sign in to comment.