fix(marker): vinhøsterens afgrøde fra inputFruitTypeIndex (FS25) (v1.60.18.0)

This commit is contained in:
2026-09-29 23:34:38 +02:00
parent 3c67591cb3
commit 8abcbcdcb8
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ end
function ADCpBridge.vineFruitSet(spec)
local fruits = {}
if spec == nil then return fruits end
for _, key in ipairs({"fruitTypeIndex", "fruitType"}) do
for _, key in ipairs({"inputFruitTypeIndex", "fruitTypeIndex", "fruitType"}) do
if type(spec[key]) == "number" then fruits[spec[key]] = true end
end
if type(spec.fruitTypes) == "table" then