From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 26 Feb 2025 11:11:17 +0000 (+0100) Subject: fix delta state in SharedGunSystem (#35510) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=7283f9b6dc006001d2333bafed3d14975d795192;p=space-station-14.git fix delta state in SharedGunSystem (#35510) --- diff --git a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs index 35a15178d8..231bac8302 100644 --- a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs +++ b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs @@ -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)); } }