]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Ammo Visuals Bug (#41362)
authorSir Warock <67167466+SirWarock@users.noreply.github.com>
Sun, 9 Nov 2025 07:42:55 +0000 (08:42 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Nov 2025 07:42:55 +0000 (07:42 +0000)
Fix Ammo Count Updating

Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs

index 62b68fed6edfc8c9a9e45ef6dee95a4f6fb73a7d..c2dfa23fcb03a7d24d36be5ea78f287724a63687 100644 (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;