Skip to content

Commit

Permalink
fastfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoonij authored Nov 15, 2024
1 parent d8d87a3 commit 2e01736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/surgery/organs/blood.dm
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@
if(HAS_TRAIT(src, TRAIT_NO_BLOOD))
return FALSE

if(SEND_SIGNAL(src, COMSIG_LIVING_BLOOD_ADJUST, amount, bleed_mode_affect) & COMPONENT_PREVENT_BLOODLOSS)
if(SEND_SIGNAL(src, COMSIG_LIVING_BLOOD_ADJUST, amount) & COMPONENT_PREVENT_BLOODLOSS)
return FALSE

blood_volume = max(round(blood_volume - amount, DAMAGE_PRECISION), 0)
SEND_SIGNAL(src, COMSIG_LIVING_BLOOD_ADJUSTED, amount, bleed_mode_affect)
SEND_SIGNAL(src, COMSIG_LIVING_BLOOD_ADJUSTED, amount)

return TRUE

Expand Down

0 comments on commit 2e01736

Please sign in to comment.