File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,15 +25,8 @@ function MotorController:update()
2525 if not self .isValid then
2626 return
2727 end
28- if not self .settings .fuelSave :getValue () then
29- if not self :getIsStarted () then
30- self :startMotor ()
31- self .vehicle :raiseAIEvent (' onAIFieldWorkerContinue' , ' onAIImplementContinue' )
32- end
33- self .timerSet = false
34- end
3528 if self :isFuelSaveDisabled () or self .driveStrategy :getMaxSpeed () >
36- self .speedThreshold then
29+ self .speedThreshold or not self . settings . fuelSave : getValue () then
3730 if not self :getIsStarted () then
3831 self :startMotor ()
3932 self .vehicle :raiseAIEvent (" onAIFieldWorkerContinue" , " onAIImplementContinue" )
@@ -84,7 +77,7 @@ function MotorController:getDriveData()
8477 end
8578 if g_Courseplay .globalSettings .waitForRefueling :getValue () and
8679 self :isFuelLow (self .fuelThresholdSetting :getValue ()) then
87-
80+
8881 maxSpeed = 0
8982 end
9083
You can’t perform that action at this time.
0 commit comments