Skip to content

Commit

Permalink
Fixes a small bug with shields that stopped them from working (#3704)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

minor oversight

## Changelog

:cl:
fix: shields work as intended again
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Nov 4, 2024
1 parent 48eed31 commit 797088e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/shields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
final_block_chance += 30
if(attack_type == LEAP_ATTACK)
final_block_chance = 100
. = .()
. = ..()
if(.)
on_shield_block(owner, hitby, attack_text, damage, attack_type)

Expand Down

0 comments on commit 797088e

Please sign in to comment.