From: AJCM-git <60196617+AJCM-git@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:50:11 +0000 (-0400) Subject: Fixes UseDelay accumulating time sometimes (#23529) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3502f5d3dba80110f64dfc6f22ffc869487ad227;p=space-station-14.git Fixes UseDelay accumulating time sometimes (#23529) a --- diff --git a/Content.Shared/Timing/UseDelaySystem.cs b/Content.Shared/Timing/UseDelaySystem.cs index a263778cef..eb1819aeb7 100644 --- a/Content.Shared/Timing/UseDelaySystem.cs +++ b/Content.Shared/Timing/UseDelaySystem.cs @@ -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); }