Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalwk77 committed Jul 7, 2023
1 parent 443f455 commit 26c2a20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions INDEV/Battle Royale/commands/repair_weapons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ function Command:repairsWeapons(player)

if (weapon and weapon.durability < max) then
weapon.durability = max
weapon.jammed = nil
weapon.ammo = nil
weapon.timer:stop()
repaired = true
end
end
Expand Down

0 comments on commit 26c2a20

Please sign in to comment.