Fix slip exception

This commit is contained in:
Vera Aguilera Puerto
2021-10-12 12:51:18 +02:00
parent bab9d4e20b
commit 8d78b5f32e

View File

@@ -86,7 +86,7 @@ namespace Content.Shared.Slippery
otherBody.LinearVelocity *= component.LaunchForwardsMultiplier; otherBody.LinearVelocity *= component.LaunchForwardsMultiplier;
_stunSystem.Paralyze(component.Owner.Uid, TimeSpan.FromSeconds(5), stun); _stunSystem.Paralyze(stun.Owner.Uid, TimeSpan.FromSeconds(5), stun);
component.Slipped.Add(otherBody.Owner.Uid); component.Slipped.Add(otherBody.Owner.Uid);
component.Dirty(); component.Dirty();