From 6a79e627e0e4f255b7f3e8237c64872012cbc851 Mon Sep 17 00:00:00 2001 From: Sir Warock <67167466+SirWarock@users.noreply.github.com> Date: Mon, 29 Sep 2025 12:28:28 +0200 Subject: [PATCH] Fix Shotgun ammocount not updating (#40568) --- .../Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs index 3addb3b783..c9cbe5e6ac 100644 --- a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs +++ b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs @@ -154,6 +154,8 @@ 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;