fix: palleskur-lager aldrig til P/Connect/Wait-markør (v1.62.70)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<modDesc descVersion="107">
|
||||
<author>masterdraco</author>
|
||||
<version>1.62.69.0</version>
|
||||
<version>1.62.70.0</version>
|
||||
<title>
|
||||
<en>AD Smart Pickup</en>
|
||||
</title>
|
||||
|
||||
Reference in New Issue
Block a user