chore: log markscanning ved skift i markjord — 1.62.177

This commit is contained in:
2026-10-10 07:44:59 +02:00
parent 582b42b688
commit 01366f1c0f
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -601,7 +601,8 @@ local function finishScan(adEnv, scan)
state == nil and "ukendt" or (state.noFieldGround and "groundType NONE" or "markjord"),
tostring(info.fruitName or "-"), info.cultivable == false and "NEJ" or "ja")
ADFields.scanLog = ADFields.scanLog or {}
local key = tostring(info.cultivable ~= false)
-- også når marken får/mister sin markjord (afgrøde uden markjord-lag -> rigtig mark), in-game 10/10 F2
local key = tostring(info.cultivable ~= false) .. "/" .. tostring(info.cropOnly == true)
if ADFields.scanLog[info.id] ~= key then
ADFields.scanLog[info.id] = key
Logging.info("ADSmartPickup: " .. summary)