From 8deffd3f080b8170db6df3227cc8499ae4340c8c Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sat, 16 Oct 2021 00:20:08 +0200 Subject: [PATCH] Hotfix slips --- Content.Shared/Slippery/SharedSlipperySystem.cs | 2 +- Resources/Changelog/Parts/slip.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Resources/Changelog/Parts/slip.yml diff --git a/Content.Shared/Slippery/SharedSlipperySystem.cs b/Content.Shared/Slippery/SharedSlipperySystem.cs index 10a94012c5..97fb9a9127 100644 --- a/Content.Shared/Slippery/SharedSlipperySystem.cs +++ b/Content.Shared/Slippery/SharedSlipperySystem.cs @@ -87,7 +87,7 @@ namespace Content.Shared.Slippery otherBody.LinearVelocity *= component.LaunchForwardsMultiplier; - _stunSystem.TryParalyze(component.Owner.Uid, TimeSpan.FromSeconds(5)); + _stunSystem.TryParalyze(otherBody.Owner.Uid, TimeSpan.FromSeconds(5)); component.Slipped.Add(otherBody.Owner.Uid); component.Dirty(); diff --git a/Resources/Changelog/Parts/slip.yml b/Resources/Changelog/Parts/slip.yml new file mode 100644 index 0000000000..210c008c5c --- /dev/null +++ b/Resources/Changelog/Parts/slip.yml @@ -0,0 +1,4 @@ +author: Zumorica +changes: + - type: Fix # One of the following: Add, Remove, Tweak, Fix + message: Fixes slips not working. GO FORTH AND SLIP, MY CHILDREN!