mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
Stops giving you organ damage messages if you arent conscious (#59311)
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
damage = clamp(damage + damage_amount, 0, maximum)
|
||||
var/mess = check_damage_thresholds(owner)
|
||||
prev_damage = damage
|
||||
if(mess && owner)
|
||||
if(mess && owner.stat <= SOFT_CRIT)
|
||||
to_chat(owner, mess)
|
||||
|
||||
///SETS an organ's damage to the amount "damage_amount", and in doing so clears or sets the failing flag, good for when you have an effect that should fix an organ if broken
|
||||
|
||||
Reference in New Issue
Block a user