]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
SharedGunSystem spread bugfix (#38960)
authorKOTOB <59124164+kotobdev@users.noreply.github.com>
Sun, 13 Jul 2025 03:59:05 +0000 (20:59 -0700)
committerGitHub <noreply@github.com>
Sun, 13 Jul 2025 03:59:05 +0000 (23:59 -0400)
two bytes

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

index 982b8c13453f72dd3d662f080dc04a04e7da7733..7e578657ebd2c8d6844e84057a1da584a14f4e65 100644 (file)
@@ -567,7 +567,7 @@ public abstract partial class SharedGunSystem : EntitySystem
             DirtyField(gun, nameof(GunComponent.AngleDecayModified));
         }
 
-        if (!comp.MaxAngleModified.EqualsApprox(ev.MinAngle))
+        if (!comp.MaxAngleModified.EqualsApprox(ev.MaxAngle))
         {
             comp.MaxAngleModified = ev.MaxAngle;
             DirtyField(gun, nameof(GunComponent.MaxAngleModified));