]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix gun cursor popup spam (#23732)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Mon, 8 Jan 2024 12:10:26 +0000 (23:10 +1100)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2024 12:10:26 +0000 (23:10 +1100)
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs

index 45f4f2e6084e198419fe601f2084faf907274f5f..d0d2f04bcfa3a977bf94782f9215df95ac24460a 100644 (file)
@@ -321,7 +321,7 @@ public abstract partial class SharedGunSystem : EntitySystem
             // If they're firing an existing clip then don't play anything.
             if (shots > 0)
             {
-                if (ev.Reason != null)
+                if (ev.Reason != null && Timing.IsFirstTimePredicted)
                 {
                     PopupSystem.PopupCursor(ev.Reason);
                 }