Skip to content

Commit

Permalink
fix: don't round the braking curve speed
Browse files Browse the repository at this point in the history
This change allows the NJT ADU to smoothly shrink the overspeed bar.
  • Loading branch information
YoRyan committed Sep 1, 2021
1 parent 66815e0 commit 96f4c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Lib/SafetySystems/AspectDisplay/AspectDisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ end
function P:getcivilcurvespeed_mph()
local acsesspeed_mps = self._acses:getcurvespeed_mps()
if acsesspeed_mps then
return Misc.round(acsesspeed_mps * Units.mps.tomph)
return acsesspeed_mps * Units.mps.tomph
else
return nil
end
Expand Down

0 comments on commit 96f4c61

Please sign in to comment.