Merge pull request #4008 from Citadel-Station-13/upstream-merge-32814

[MIRROR] fix 'cannot scream while unconscious' bug
This commit is contained in:
deathride58
2017-11-19 04:29:07 +00:00
committed by GitHub
@@ -1636,7 +1636,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
else
burn_damage = HEAT_DAMAGE_LEVEL_2
burn_damage *= heatmod
if((prob(burn_damage) * 10) / 4) //40% for level 3 damage on humans
if (H.stat < UNCONSCIOUS && (prob(burn_damage) * 10) / 4) //40% for level 3 damage on humans
H.emote("scream")
H.apply_damage(burn_damage, BURN)
else if(H.bodytemperature < BODYTEMP_COLD_DAMAGE_LIMIT && !(GLOB.mutations_list[COLDRES] in H.dna.mutations))