From cd2ae2baaeb11a5692e866b39f921f4ef2492eee Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 13 May 2024 19:27:59 +0500 Subject: [PATCH] fix https://github.com/JonnyBro/beatrun/issues/185 --- beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua b/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua index 9aecb33..59463a5 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/FreerunSysAll.lua @@ -258,7 +258,7 @@ hook.Add("SetupMove", "MESetupMove", function(ply, mv, cmd) local activewep = ply:GetActiveWeapon() if ply:notUsingRH() then - weaponspeed = speed_limit:GetInt() + weaponspeed = speed_limit:GetInt() + math.floor(325 - speed_limit:GetInt()) end if (ismoving or ply:GetMantle() ~= 0) and ply:GetMESprintDelay() < CurTime() and (cmd:KeyDown(IN_SPEED) or ply:GetMantle() ~= 0 or not ply:OnGround() or (not ply:OnGround() or ply:GetMantle() ~= 0) and mv:GetVelocity().z > -450) then