From 6577532adf925502583d2ab9ea4240c1f4bf7f95 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Wed, 26 Oct 2022 19:22:12 -0400 Subject: [PATCH] Make #11647 actually function (#12229) --- Content.Shared/Movement/Systems/SlowContactsSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Movement/Systems/SlowContactsSystem.cs b/Content.Shared/Movement/Systems/SlowContactsSystem.cs index c1e9863b76..c318b6628b 100644 --- a/Content.Shared/Movement/Systems/SlowContactsSystem.cs +++ b/Content.Shared/Movement/Systems/SlowContactsSystem.cs @@ -75,7 +75,7 @@ public sealed class SlowContactsSystem : EntitySystem if (!TryComp(ent, out var slowContactsComponent)) continue; - if (slowContactsComponent.IgnoreWhitelist != null && slowContactsComponent.IgnoreWhitelist.IsValid(ent)) + if (slowContactsComponent.IgnoreWhitelist != null && slowContactsComponent.IgnoreWhitelist.IsValid(uid)) continue; walkSpeed = Math.Min(walkSpeed, slowContactsComponent.WalkSpeedModifier);