rebalance

This commit is contained in:
Valera 2025-11-20 20:01:57 +07:00
parent a58888c314
commit 558a1eda07
2 changed files with 4 additions and 4 deletions

View File

@ -11,12 +11,11 @@ public partial class VeloXCar
private void UpdateABS() private void UpdateABS()
{ {
ABSActive = false;
if ( !UseABS ) if ( !UseABS )
return; return;
ABSActive = false; if ( TotalSpeed < 100 || ABSActive || Steering.AlmostEqual( 0, 1 ) )
if ( TotalSpeed < 100 || ABSActive )
return; return;

View File

@ -12,9 +12,10 @@ public partial class VeloXCar
public static bool UseESC = true; public static bool UseESC = true;
private void UpdateESC() private void UpdateESC()
{ {
ESCActive = false;
if ( !UseESC ) if ( !UseESC )
return; return;
ESCActive = false;
if ( TotalSpeed < 100 || CarDirection != 1 ) if ( TotalSpeed < 100 || CarDirection != 1 )
return; return;