1.0.5pre fix for path creation without pins
generic [05-13-22 - 18:27]
1.0.5pre fix for path creation without pins
diff --git a/HarvestRoute.lua b/HarvestRoute.lua
index 3df3df1..352a67a 100644
--- a/HarvestRoute.lua
+++ b/HarvestRoute.lua
@@ -281,7 +281,7 @@ function HarvestRoute:OnUpdate (time)
pathNodes[#pathNodes + 1] = nodeId
HarvestRoute:debug('added '..nodeId..' as path node '..#pathNodes)
if #pathNodes > 2 then
- path = Harvest.path:New(Harvest.mapPins.mapCache)
+ path = Harvest.path:New(MapCache)
path:GenerateFromNodeIds(pathNodes, 1, #pathNodes)
Farm:SetPath(path)
lastPathIndex = Farm.path:GetIndex(nodeId)
diff --git a/Localization/de.lua b/Localization/de.lua
index 034f428..9cfe7df 100644
--- a/Localization/de.lua
+++ b/Localization/de.lua
@@ -18,7 +18,6 @@ HarvestRoute.localizedStrings = {
["lastpathnodetitle"] = "letzte Resource der Tour:",
["lastpathnodetooltip"] = "Neue Nodes werden nach dieser Resource-Node in der Tour eingefügt",
["nodeinfounknown"] = "|CA0A0A0keine Node innerhalb von 50 m|r",
- ["nodeinfo"] = [[<<1>> |CA0A0A0(<<2>> m)|r]],
["tourtrackerdescription"] = [[Nutze den Tracker um neue Nodes automagisch nach der zuletzt besuchten Node einzufügen.