Skip to content

Commit

Permalink
Update _components.dm (#8396)
Browse files Browse the repository at this point in the history
  • Loading branch information
MLGTASTICa authored Jan 7, 2024
1 parent 6ce0c21 commit 71c2408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mechs/components/_components.dm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
if(damage_state == MECH_COMPONENT_DAMAGE_DAMAGED_TOTAL)
playsound(loc, 'sound/mechs/critdestr.ogg', 50)

if(total_damage == max_damage)
if(total_damage >= max_damage)
if(gib_hits > gib_hits_needed && can_gib)
var/mob/living/exosuit/owner = loc
if(!istype(owner))
Expand Down

0 comments on commit 71c2408

Please sign in to comment.