fix: palleskur-lager aldrig til P/Connect/Wait-markør (v1.62.70)

This commit is contained in:
2026-10-07 23:56:30 +02:00
parent d350b90456
commit 0e07651532
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -849,7 +849,8 @@ function ADSources.findPalletStore(adEnv, vehicle, fillType, excludedPlaceables,
end
local candidates = {}
for _, marker in pairs(adEnv.ADGraphManager:getMapMarkers()) do
local source = ADSources.identify(adEnv, marker.id, farmId)
-- parkering/kobling/Wait ved skuret er aldrig lagermålet (in-game 7/10: "Connect P Tippevogn 8")
local source = not isServiceMarker(marker) and ADSources.identify(adEnv, marker.id, farmId) or nil
if source ~= nil and source.kind == "objectStorage" and not (excludedPlaceables ~= nil and excludedPlaceables[source.placeable])
and ADSources.objectStorageAccepts(source.placeable, fillType) and ADSources.objectStorageFreeSlots(source.placeable) >= 1 then
local wayPoint = adEnv.ADGraphManager:getWayPointById(marker.id)