]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes UseDelay accumulating time sometimes (#23529)
authorAJCM-git <60196617+AJCM-git@users.noreply.github.com>
Thu, 4 Jan 2024 17:50:11 +0000 (13:50 -0400)
committerGitHub <noreply@github.com>
Thu, 4 Jan 2024 17:50:11 +0000 (12:50 -0500)
a

Content.Shared/Timing/UseDelaySystem.cs

index a263778cef41d8720f4534d2f44b51a333b855ae..eb1819aeb7c279b168ad2ddf70f8493b35be4fbb 100644 (file)
@@ -25,7 +25,7 @@ public sealed class UseDelaySystem : EntitySystem
         if (ent.Comp.Delay == delay)
             return;
 
-        ent.Comp.Delay += delay;
+        ent.Comp.Delay = delay;
         Dirty(ent);
     }