Fix Speedloader Partial Reload (#32396)

This commit is contained in:
Skye
2025-04-18 19:26:44 -04:00
committed by GitHub
parent 280a21733e
commit 5a1dd9de42

View File

@@ -130,7 +130,7 @@ public partial class SharedGunSystem
return false;
}
for (var i = Math.Min(ev.Ammo.Count - 1, component.Capacity - 1); i >= 0; i--)
for (var i = 0; i < component.Capacity; i++)
{
var index = (component.CurrentIndex + i) % component.Capacity;