mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
Horizontal-only speedometer because f you
This commit is contained in:
parent
222fe216ff
commit
8c6664036c
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ function CourseHUD()
|
|||
end
|
||||
|
||||
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
|
||||
speed = "0" .. speed
|
||||
|
|
Loading…
Reference in a new issue