Merge pull request #3669 from Anewbe/ling_death

Using changeling fake death should work properly if self-respiration is on
This commit is contained in:
Neerti
2017-08-01 07:40:43 -04:00
committed by GitHub

View File

@@ -33,6 +33,9 @@
if(C.suiciding)
C.suiciding = 0
if(C.does_not_breathe)
C.does_not_breathe = 0 //This means they don't autoheal the oxy damage from the next step
if(C.stat != DEAD)
C.adjustOxyLoss(C.maxHealth * 2)