fix lua erro when display message about not discovered wayshire

Leandro Silva [04-08-20 - 14:41]
fix lua erro when display message about not discovered wayshire
Filename
LeoDolmenRunner.lua
LeoDolmenRunner.txt
Runner.lua
diff --git a/LeoDolmenRunner.lua b/LeoDolmenRunner.lua
index 74ab2d7..b00130c 100644
--- a/LeoDolmenRunner.lua
+++ b/LeoDolmenRunner.lua
@@ -1,7 +1,7 @@
 LeoDolmenRunner = {
     name = "LeoDolmenRunner",
     displayName = "Leo's Dolmen Runner",
-    version = "1.1.6",
+    version = "1.1.7",
     chatPrefix = "|c39B027LeoDolmenRunner|r: ",
     isDebug = false,
     defaults = {
diff --git a/LeoDolmenRunner.txt b/LeoDolmenRunner.txt
index c9b88db..9729c3d 100644
--- a/LeoDolmenRunner.txt
+++ b/LeoDolmenRunner.txt
@@ -1,7 +1,7 @@
 ## Title: Leo's Dolmen Runner
 ## APIVersion: 100029 100030
-## Version: 1.1.6
-## AddOnVersion: 116
+## Version: 1.1.7
+## AddOnVersion: 117
 ## Author: |c39B027@LeandroSilva|r
 ## SavedVariables: LeoDolmenRunner_Data
 ## DependsOn: LibFeedback LibAddonMenu-2.0 LibSavedVars
diff --git a/Runner.lua b/Runner.lua
index 9e5c4ba..ed84461 100644
--- a/Runner.lua
+++ b/Runner.lua
@@ -129,9 +129,10 @@ function Runner:OnFastTravelInteraction(currentWayshrine)
     else
         nextWayshrine = Runner.wayshrines[currentWayshrine].ccw
     end
+
     local discovered, name = GetFastTravelNodeInfo(nextWayshrine)
     if not discovered then
-        LDR.log("Can't fast travel: " .. name .. " not discovered yet.")
+        LeoDolmenRunner.log("Can't fast travel: " .. name .. " not discovered yet.")
         return
     end
     FastTravelToNode(nextWayshrine)