Skip to content

Commit

Permalink
Fix aimed "charge refunding"
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit committed Oct 13, 2023
1 parent 1edbc36 commit 293feef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/spells/aimed/_aimed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
if(charge_type == "recharge")
var/refund_percent = current_amount/projectile_amount
charge_counter = charge_max * refund_percent
process()
remove_ranged_ability(msg)
on_deactivation(user)
else
Expand Down

0 comments on commit 293feef

Please sign in to comment.