diff --git a/ReallifeGamemode.Client/vehiclesync/smoothtrottle.ts b/ReallifeGamemode.Client/vehiclesync/smoothtrottle.ts index fb57d81c..e11a060e 100644 --- a/ReallifeGamemode.Client/vehiclesync/smoothtrottle.ts +++ b/ReallifeGamemode.Client/vehiclesync/smoothtrottle.ts @@ -9,7 +9,7 @@ export default function smoothThrottle() { let GlobalDisable = false; - let DisableAntiReverse = true; + let DisableAntiReverse = false; let DisableSmoothThrottle = false; let BrakeSystem = false; @@ -47,7 +47,7 @@ export default function smoothThrottle() { return; if (BrakeSystem) { - if (mp.players.local.vehicle !== null) { + if (mp.players.local.vehicle && mp.vehicles.exists(mp.players.local.vehicle)) { if (!mp.players.local.vehicle.isSeatFree(-1)) //only do this if the vehicle has a driver (doesn't have to be the player who is rendering this) { //Optimize function calls to variables (probably doesn't make a difference)