fix 'cannot scream while unconscious' bug (#32814)
* fix 'cannot scream while unconscious' bug fixes a bug where it tells you that you can't scream while unconscious while on fire (experienced on Bagil when a plasma fire happened at endround shuttle) * Update species.dm * sanitize code * add the comment back so people know what it doin * change operator other one wouldn't work with the fix, the screaming is supposed to happen while you're in crit
This commit is contained in:
committed by
CitadelStationBot
parent
c4eb49994f
commit
e3036f6eae
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user