From 488b968cfd8d7ebf7e21b64cfdcf7b41ef1722ae Mon Sep 17 00:00:00 2001 From: metalgearsloth Date: Mon, 27 Jun 2022 13:55:46 +1000 Subject: [PATCH] Fix sloweddown stopping its own shutdown refresh --- Content.Shared/Stunnable/SharedStunSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Shared/Stunnable/SharedStunSystem.cs b/Content.Shared/Stunnable/SharedStunSystem.cs index 9d0a3e4fb7f6..f778f71b4056 100644 --- a/Content.Shared/Stunnable/SharedStunSystem.cs +++ b/Content.Shared/Stunnable/SharedStunSystem.cs @@ -108,6 +108,8 @@ private void OnSlowInit(EntityUid uid, SlowedDownComponent component, ComponentI private void OnSlowRemove(EntityUid uid, SlowedDownComponent component, ComponentShutdown args) { + component.SprintSpeedModifier = 1f; + component.WalkSpeedModifier = 1f; _movementSpeedModifierSystem.RefreshMovementSpeedModifiers(uid); }