Skip to content

Commit

Permalink
Fix #490
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel32019 committed Apr 27, 2022
1 parent 49ffcc8 commit 2347b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Modules/TrailerModule.lua
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ end

function ADTrailerModule:startLoadingCorrectFillTypeAtTrigger(trailer, trigger, fillUnitIndex)
AutoDrive.debugPrint(self.vehicle, AutoDrive.DC_TRAILERINFO, "ADTrailerModule:startLoadingCorrectFillTypeAtTrigger start")
if not AutoDrive.fillTypesMatch(self.vehicle, trigger, trailer) then
if not AutoDrive.fillTypesMatch(self.vehicle, trigger, trailer, nil, fillUnitIndex) then
local storedFillType = self.vehicle.ad.stateModule:getFillType()
local toCheck = {'SEEDS','FERTILIZER','LIQUIDFERTILIZER'}

Expand Down

0 comments on commit 2347b6d

Please sign in to comment.