Skip to content

Commit

Permalink
Fixes club force string message
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon committed Aug 12, 2024
1 parent 84a019e commit 9b6dcb6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/game/objects/items/weaponry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,14 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
if(isstructure(A) || ismachinery(A) || isturf(A))
force *= 4
armour_penetration += 50
// To prevent unnecessary force string calculation (we want this to be treated
// as if it wasn't changed)
last_force_string_check = force
return ..()

/obj/item/club/set_force_string()
// If we do need to calculate the new force string, make sure we are using the original force
force = initial(force)
return ..()

/obj/item/club/tailclub
Expand Down

0 comments on commit 9b6dcb6

Please sign in to comment.