Skip to content

Commit

Permalink
ted wet grass without moisture enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
reallogger committed Aug 6, 2018
1 parent a81b070 commit 61e6a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vehicles/specializations/ssTedder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function ssTedder:processTedderAreas(superFunc, workAreas, accumulatedWorkAreaVa

local toDrop = accumulatedWorkAreaValues[i] + liters

local fillType = g_seasons.weather:isCropWet() and FruitUtil.FRUITTYPE_GRASS or FruitUtil.FRUITTYPE_DRYGRASS
local fillType = (g_seasons.weather.moistureEnabled and g_seasons.weather:isCropWet()) and FruitUtil.FRUITTYPE_GRASS or FruitUtil.FRUITTYPE_DRYGRASS
local dropped, lineOffset = TipUtil.tipToGroundAroundLine(self, toDrop, FruitUtil.fruitTypeToWindrowFillType[fillType], sx, sy, sz, ex, ey, ez, hLength_2, nil, self.tedderLineOffset, false, nil, false)

--local dropped, lineOffset = TipUtil.tipToGroundAroundLine(self, toDrop, FruitUtil.fruitTypeToWindrowFillType[FruitUtil.FRUITTYPE_DRYGRASS], sx, sy, sz, ex, ey, ez, hLength_2, nil, self.tedderLineOffset, false, nil, false)
Expand Down

0 comments on commit 61e6a8b

Please sign in to comment.