Skip to content

Commit

Permalink
fix people not getting a heart attack in shock (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 authored Jun 16, 2024
1 parent 9bd3aaa commit 21701fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/heart.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
pulse = clamp(PULSE_NORM + pulse_mod, PULSE_SLOW, PULSE_THREADY)

// If fibrillation, then it can be PULSE_THREADY
var/fibrillation = blood_oxygenation <= BLOOD_CIRC_SURVIVE || (prob(30) && SHOCK_AMT_FOR_FIBRILLATION > 120)
var/fibrillation = blood_oxygenation <= BLOOD_CIRC_SURVIVE || (prob(30) && owner.shock_stage > SHOCK_AMT_FOR_FIBRILLATION)

if(pulse && fibrillation) //I SAID MOAR OXYGEN
pulse = PULSE_THREADY
Expand Down

0 comments on commit 21701fe

Please sign in to comment.