File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ function CpAIJob:detectFieldBoundary()
263263 return false , false , g_i18n :getText (" CP_error_not_on_field" )
264264 end
265265 if vehicle :cpIsFieldBoundaryDetectionRunning () then
266- return false , false , g_i18n :getText (" CP_error_field_detection_still_running" )
266+ return false , true , g_i18n :getText (" CP_error_field_detection_still_running" )
267267 end
268268 local x , z = vehicle :cpGetFieldPosition ()
269269 if x == tx and z == tz then
Original file line number Diff line number Diff line change @@ -138,10 +138,11 @@ function CpAIJobFieldWork:validate(farmId)
138138 end
139139 local vehicle = self .vehicleParameter :getVehicle ()
140140
141- --- Only check the valid field position in the in game menu.
141+ --- Only check the valid field boundary in the in game menu.
142142 if not self .isDirectStart then
143143 isValid , isRunning , errorMessage = self :detectFieldBoundary ()
144- if not isValid then
144+ if not isValid and not isRunning then
145+ self :debug (" no boundary and no field detection is running" );
145146 return isValid , errorMessage
146147 end
147148 self .cpJobParameters :validateSettings ()
You can’t perform that action at this time.
0 commit comments