diff --git a/Code/Car/VeloXCar.ABS.cs b/Code/Car/VeloXCar.ABS.cs index 5306d71..912db1c 100644 --- a/Code/Car/VeloXCar.ABS.cs +++ b/Code/Car/VeloXCar.ABS.cs @@ -11,12 +11,11 @@ public partial class VeloXCar private void UpdateABS() { + ABSActive = false; if ( !UseABS ) return; - ABSActive = false; - - if ( TotalSpeed < 100 || ABSActive ) + if ( TotalSpeed < 100 || ABSActive || Steering.AlmostEqual( 0, 1 ) ) return; diff --git a/Code/Car/VeloXCar.ESC.cs b/Code/Car/VeloXCar.ESC.cs index 084ffdd..58a1d9b 100644 --- a/Code/Car/VeloXCar.ESC.cs +++ b/Code/Car/VeloXCar.ESC.cs @@ -12,9 +12,10 @@ public partial class VeloXCar public static bool UseESC = true; private void UpdateESC() { + ESCActive = false; + if ( !UseESC ) return; - ESCActive = false; if ( TotalSpeed < 100 || CarDirection != 1 ) return;