Skip to content

Commit

Permalink
[MIRROR] Addendum to Baystation12#34339
Browse files Browse the repository at this point in the history
  • Loading branch information
Qlonever authored and SierraHelper committed Nov 21, 2023
1 parent 8f7930c commit 2483d64
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/mob/living/carbon/human/human_damage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,17 @@
return breathe_organ.get_oxygen_deprivation()

/mob/living/carbon/human/setOxyLoss(amount)
<<<<<<< ours
if(!need_breathe())
return 0
else
adjustOxyLoss(getOxyLoss()-amount)
=======
if (!need_breathe())
return
amount = (clamp(amount, 0, 100) - getOxyLoss()) / 100
adjustOxyLoss(amount * species.total_health)
>>>>>>> theirs

/mob/living/carbon/human/adjustOxyLoss(amount)
if(!need_breathe())
Expand Down

0 comments on commit 2483d64

Please sign in to comment.