mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Fixes delta damage calculation for organs (and brain getting traumas not from damage, but from mannitol healing) (#95103)
Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
@@ -467,8 +467,8 @@
|
||||
/obj/item/organ/stomach/apply_organ_damage(damage_amount, maximum, required_organ_flag)
|
||||
. = ..()
|
||||
// So after a while, or a bunch of stomach meds, even a cut stomach can recover
|
||||
if (. < 0)
|
||||
cut_open_damage = max(0, cut_open_damage + .)
|
||||
if (. > 0)
|
||||
cut_open_damage = max(0, cut_open_damage - .)
|
||||
|
||||
/obj/item/organ/stomach/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user