Fixes Alien Larva Being Unconscious by Default (#13812)

This commit is contained in:
Fox McCloud
2020-07-11 23:53:11 -06:00
committed by GitHub
parent f71e66f428
commit 7a946ef883
@@ -16,7 +16,7 @@
death()
return
if(paralysis || sleeping || getOxyLoss() > 50 || (HEALTH_THRESHOLD_CRIT <= health && check_death_method()))
if(paralysis || sleeping || getOxyLoss() > 50 || (health <= HEALTH_THRESHOLD_CRIT && check_death_method()))
if(stat == CONSCIOUS)
KnockOut()
create_debug_log("fell unconscious, trigger reason: [reason]")