Merge pull request #5707 from Citadel-Station-13/upstream-merge-35840

[MIRROR] Removes liver unfailure and makes alcohol do the killing thing sometimes
This commit is contained in:
deathride58
2018-02-25 21:42:21 +00:00
committed by GitHub
3 changed files with 8 additions and 9 deletions
+1 -3
View File
@@ -412,11 +412,9 @@
if((!dna && !liver) || (NOLIVER in dna.species.species_traits))
return
if(liver)
if(liver.damage >= 100)
if(liver.damage >= liver.maxHealth)
liver.failing = TRUE
liver_failure()
else
liver.failing = FALSE
else
liver_failure()