Skip to content

Commit

Permalink
Fix breaking bones with stamina damage
Browse files Browse the repository at this point in the history
Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Jul 5, 2024
1 parent ed8d698 commit bbe10a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/surgery/bodyparts/bodyparts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
burn *= 2

// Is the damage greater than the threshold, and if so, probability of damage + item force
if((brute_dam > bone_break_threshold) && prob(brute_dam + break_modifier))
if(brute && (brute_dam > bone_break_threshold) && prob(brute_dam + break_modifier))
break_bone()

// Bleeding is applied here
Expand Down

0 comments on commit bbe10a9

Please sign in to comment.