mirror of
https://github.com/JonnyBro/beatrun.git
synced 2025-01-01 14:53:02 +05:00
I've changed my mind
This commit is contained in:
parent
70aebef783
commit
7e44199ce9
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue