Skip to content

Commit

Permalink
fix quick reload exploit
Browse files Browse the repository at this point in the history
  • Loading branch information
TtroubleTT committed Feb 5, 2025
1 parent 587972e commit ce6ffed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.CustomItems/API/Features/CustomWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private void OnInternalReloading(ReloadingWeaponEventArgs ev)

private void OnInternalReloaded(ReloadedWeaponEventArgs ev)
{
if (!Check(ev.Item))
if (!Check(ev.Item) || ev.Player.CurrentItem != ev.Item)
return;

if (ClipSize > 0)
Expand Down

0 comments on commit ce6ffed

Please sign in to comment.