I've changed my mind

This commit is contained in:
shen 2024-06-07 10:56:52 +03:00
parent 70aebef783
commit 7e44199ce9

View file

@ -42,7 +42,7 @@ local function SafetyRollThink(ply, mv, cmd)
local speedLimit = GetConVar("Beatrun_SpeedLimit"):GetFloat() local speedLimit = GetConVar("Beatrun_SpeedLimit"):GetFloat()
if (con:GetBool()) then if (con:GetBool()) then
mv:SetVelocity(ang:Forward() * (speedLimit / 2) + vel) mv:SetVelocity(ang:Forward() * 250 + vel)
else else
local max = math.max(250, math.Clamp(lastGroundSpeed, 200, speedLimit + 50)) local max = math.max(250, math.Clamp(lastGroundSpeed, 200, speedLimit + 50))
mv:SetVelocity(ang:Forward() * (max + 40)) mv:SetVelocity(ang:Forward() * (max + 40))