From 398811fcc374eadf1e7804c73aacfc43ff3dd145 Mon Sep 17 00:00:00 2001 From: Aubergine Date: Thu, 9 Dec 2021 17:21:33 +0000 Subject: [PATCH] Update `SPEED_TO_MPH` constant to correct value User @Glenwing reported in #988 that the speed constant was wrong; should be `31.06f` (not `32.06f`). Fixes #988 --- TLM/TLM/Constants.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TLM/TLM/Constants.cs b/TLM/TLM/Constants.cs index d390a9c9c..683ebd59e 100644 --- a/TLM/TLM/Constants.cs +++ b/TLM/TLM/Constants.cs @@ -20,7 +20,7 @@ public static class Constants { /// Conversion rate from MPH to game speed (also exists in TrafficManager.API.Constants) /// [UsedImplicitly] - public const float SPEED_TO_MPH = 32.06f; // 50 km/h converted to mph + public const float SPEED_TO_MPH = 31.06f; // 50 km/h converted to mph /// /// Screen pixel size for overlay signs, such as one-per-segment speed limits. @@ -50,4 +50,4 @@ public static class Constants { public static INotifier Notifier => TrafficManager.Notifier.Instance; } -} \ No newline at end of file +}