From 00152d205339b008bc77be84126a2be8e7393a94 Mon Sep 17 00:00:00 2001 From: cypress Date: Mon, 20 May 2024 22:21:22 -0700 Subject: [PATCH] SERVER: Add grace period before velocity-based sprint stop --- source/server/weapons/weapon_core.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/server/weapons/weapon_core.qc b/source/server/weapons/weapon_core.qc index 6a06ee6..397617c 100644 --- a/source/server/weapons/weapon_core.qc +++ b/source/server/weapons/weapon_core.qc @@ -1678,7 +1678,7 @@ void() CheckPlayer = // predicted for our slowest possible weapon. This removes the need // for an engine-side hack for toggle sprinting turning off when // you're applying less pressure to the analog stick. - else if (vlen(self.velocity) <= 130) + else if (vlen(self.velocity) <= 130 && self.sprint_delay <= time + 0.75) W_SprintStop(); }