Fix Ammo Visuals Bug (#41362) (#4626)

Fix Ammo Count Updating
This commit is contained in:
Sir Warock 2025-11-09 20:30:44 +01:00 committed by GitHub
parent 40e98be899
commit afd5cf0bbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -154,8 +154,6 @@ public abstract partial class SharedGunSystem
Del(ent.Value);
}
UpdateBallisticAppearance(args.Target.Value, component);
UpdateAmmoCount(args.Target.Value);
// repeat if there is more space in the target and more ammo to fill
var moreSpace = target.Entities.Count + target.UnspawnedCount < target.Capacity;
var moreAmmo = component.Entities.Count + component.UnspawnedCount > 0;