feat(mp): etape 1 - automatik kun på serveren, fælles gård via ADUtil.farmId, klienter skriver aldrig modens filer
This commit is contained in:
@@ -1131,7 +1131,7 @@ local function describeLoadFailure(adEnv, vehicle, task, state, source)
|
||||
local parts = {}
|
||||
local marker = adEnv.ADGraphManager.getMapMarkerByWayPointId ~= nil and adEnv.ADGraphManager:getMapMarkerByWayPointId(state.current) or nil
|
||||
table.insert(parts, string.format("markør '%s' (%s)", marker ~= nil and tostring(marker.name) or "?", tostring(state.current)))
|
||||
local ok, products = pcall(ADSources.getProducts, adEnv, source, g_currentMission:getFarmId())
|
||||
local ok, products = pcall(ADSources.getProducts, adEnv, source, ADUtil.farmId())
|
||||
local wanted = {}
|
||||
for _, fillType in ipairs(state.trip.fillTypes) do wanted[fillType] = true end
|
||||
for _, item in ipairs(ok and products or {}) do
|
||||
|
||||
Reference in New Issue
Block a user