From 076910eb04ae827e924bdbdb498793c561fba9de Mon Sep 17 00:00:00 2001 From: wrexbe <81056464+wrexbe@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:26:51 -0800 Subject: [PATCH] Multiply pushback ratio by 10 for better recovery from being spaced (#5687) Co-authored-by: 20kdc --- Content.Server/Throwing/ThrowHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Throwing/ThrowHelper.cs b/Content.Server/Throwing/ThrowHelper.cs index 2c5af74fd6..46035fd304 100644 --- a/Content.Server/Throwing/ThrowHelper.cs +++ b/Content.Server/Throwing/ThrowHelper.cs @@ -29,8 +29,8 @@ namespace Content.Server.Throwing /// A vector pointing from the entity to its destination. /// How much the direction vector should be multiplied for velocity. /// - /// The ratio of impulse applied to the thrower - internal static void TryThrow(this IEntity entity, Vector2 direction, float strength = 1.0f, IEntity? user = null, float pushbackRatio = 1.0f) + /// The ratio of impulse applied to the thrower - defaults to 10 because otherwise it's not enough to properly recover from getting spaced + internal static void TryThrow(this IEntity entity, Vector2 direction, float strength = 1.0f, IEntity? user = null, float pushbackRatio = 10.0f) { if (entity.Deleted || strength <= 0f ||