]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix delta state in SharedGunSystem (#35510)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Wed, 26 Feb 2025 11:11:17 +0000 (12:11 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Feb 2025 11:11:17 +0000 (22:11 +1100)
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs

index 35a15178d87601a4f91dd9f19cb8c2e9a7f65f11..231bac8302fe30724cdb100406bee112f3d16c0c 100644 (file)
@@ -119,7 +119,7 @@ public abstract partial class SharedGunSystem : EntitySystem
         if (melee.NextAttack > component.NextFire)
         {
             component.NextFire = melee.NextAttack;
-            EntityManager.DirtyField(uid, component, nameof(MeleeWeaponComponent.NextAttack));
+            EntityManager.DirtyField(uid, component, nameof(GunComponent.NextFire));
         }
     }