Skip to content

Commit

Permalink
6.01.00162 Baler-wrapper won't stop while wrapping Courseplay#3512
Browse files Browse the repository at this point in the history
  • Loading branch information
pvaiko committed Apr 2, 2019
1 parent 78dd042 commit 58e62f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion BaleWrapperAIDriver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ function BaleWrapperAIDriver:init(vehicle)
end

function BaleWrapperAIDriver:driveFieldwork()
if self.baleWrapper.spec_baleWrapper.baleWrapperState ~= BaleWrapper.STATE_NONE then
-- stop while wrapping only if we deon't have a baler. If we do we should continue driving and working
-- on the next bale, the baler code will take care about stopping if we need to
if self.baleWrapper.spec_baleWrapper.baleWrapperState ~= BaleWrapper.STATE_NONE and not self.baler then
self:setSpeed(0)
end
-- Yes, Giants has a typo in the state
Expand Down
2 changes: 1 addition & 1 deletion modDesc.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="40">
<version>6.01.00161</version>
<version>6.01.00162</version>
<author><![CDATA[Courseplay.devTeam]]></author>
<title>
<br>CoursePlay SIX</br>
Expand Down

0 comments on commit 58e62f1

Please sign in to comment.