Horizontal-only speedometer because f you

This commit is contained in:
LostTrackpad 2024-06-18 20:57:12 +07:00
parent 222fe216ff
commit 8c6664036c

View file

@ -246,7 +246,7 @@ function CourseHUD()
end end
if GetConVar("Beatrun_ShowSpeedometer"):GetBool() then if GetConVar("Beatrun_ShowSpeedometer"):GetBool() then
local speed = math.Round(ply:GetVelocity():Length() * 0.06858125) local speed = math.Round(ply:GetVelocity():Length2D() * 0.06858125)
if speed < 10 then if speed < 10 then
speed = "0" .. speed speed = "0" .. speed