fix message label
Leandro Silva [04-04-20 - 10:12]
diff --git a/Inviter.lua b/Inviter.lua
index dbc3e7c..147eded 100644
--- a/Inviter.lua
+++ b/Inviter.lua
@@ -84,6 +84,8 @@ function Inviter:Start(message)
if message ~= nil then Inviter.message = message end
+ LeoDolmenRunnerWindowInviterPanelMessage:SetText(Inviter.message)
+
LeoDolmenRunner.log("Starting auto invite. Listening to " .. Inviter.message)
Inviter.started = true
LeoDolmenRunnerWindowInviterPanelStartStopLabel:SetText("Stop")
diff --git a/LeoDolmenRunner.lua b/LeoDolmenRunner.lua
index 63efdd8..851c0da 100644
--- a/LeoDolmenRunner.lua
+++ b/LeoDolmenRunner.lua
@@ -1,7 +1,7 @@
LeoDolmenRunner = {
name = "LeoDolmenRunner",
displayName = "Leo's Dolmen Runner",
- version = "1.1.3",
+ version = "1.1.4",
chatPrefix = "|c39B027LeoDolmenRunner|r: ",
isDebug = false,
defaults = {
diff --git a/LeoDolmenRunner.txt b/LeoDolmenRunner.txt
index 40bde3d..118946d 100644
--- a/LeoDolmenRunner.txt
+++ b/LeoDolmenRunner.txt
@@ -1,7 +1,7 @@
## Title: Leo's Dolmen Runner
## APIVersion: 100029 100030
-## Version: 1.1.3
-## AddOnVersion: 113
+## Version: 1.1.4
+## AddOnVersion: 114
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoDolmenRunner_Data
## DependsOn: LibFeedback LibAddonMenu-2.0 LibSavedVars
diff --git a/Ui.lua b/Ui.lua
index 678a8c9..05659d1 100644
--- a/Ui.lua
+++ b/Ui.lua
@@ -60,7 +60,7 @@ function Ui:CreateUI()
LeoDolmenRunnerWindowPanelOrientationLabel:SetText(LDR.runner.data.direction == LDR.runner.directions.cw and "CW" or "CCW")
LeoDolmenRunnerWindowInviterPanel:SetHidden(not IsUnitSoloOrGroupLeader("player"))
- LeoDolmenRunnerWindowInviterPanelMessage:SetText("x")
+ LeoDolmenRunnerWindowInviterPanelMessage:SetText(LDR.inviter.message)
self:UpdateTrainingGear()
end
@@ -132,7 +132,7 @@ function Ui:Update(tick)
LeoDolmenRunnerWindowPanelXPNext:SetText(ZO_CachedStrFormat(GetString(SI_TIME_FORMAT_HHMM_DESC_SHORT), LDR.runner.data.hoursToLevel, LDR.runner.data.minutesToLevel))
- LeoDolmenRunnerWindowInviterPanelMessage:SetText("x")
+ LeoDolmenRunnerWindowInviterPanelMessage:SetText(LDR.inviter.message)
LeoDolmenRunnerWindowInviterPanel:SetHidden(not IsUnitSoloOrGroupLeader("player"))
end