]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix the client thinking it cannot shoot after mispredicting when it actually can...
authorDrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
Sat, 1 Jun 2024 09:35:14 +0000 (02:35 -0700)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2024 09:35:14 +0000 (02:35 -0700)
Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Ballistic.cs

index 6242312b07090e5613b5de4ddeebd1014b772e7b..784dd0793a89e46314850460cd7d306055a906d4 100644 (file)
@@ -186,6 +186,7 @@ public abstract partial class SharedGunSystem
             !Paused(uid))
         {
             gunComp.NextFire = Timing.CurTime + TimeSpan.FromSeconds(1 / gunComp.FireRateModified);
+            Dirty(uid, gunComp);
         }
 
         Dirty(uid, component);