New release
Leandro Silva [11-03-18 - 11:03]
diff --git a/Launcher.lua b/Launcher.lua
index 57d8653..d8376e4 100644
--- a/Launcher.lua
+++ b/Launcher.lua
@@ -5,7 +5,7 @@ function LeoTrainer_Launcher_OnMouseEnter(control)
end
function LeoTrainer_Launcher_OnMouseClicked(control)
- LeoTrainer.ToggleUI()
+ LeoTrainerUI.ToggleUI()
end
LeoTrainer_Launcher = ZO_Object:Subclass()
diff --git a/LeoTrainer.txt b/LeoTrainer.txt
index e0ee7e2..1c42d23 100644
--- a/LeoTrainer.txt
+++ b/LeoTrainer.txt
@@ -1,6 +1,6 @@
## Title: Leo's Trainer
## APIVersion: 100024 100025
-## Version: 1.1.1
+## Version: 1.1.2
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoTrainerSavedVariables
## DependsOn: LeoAltholic
diff --git a/LeoTrainerConst.lua b/LeoTrainerConst.lua
index 8387b85..a4dad60 100644
--- a/LeoTrainerConst.lua
+++ b/LeoTrainerConst.lua
@@ -3,7 +3,7 @@ LeoTrainer = {}
LeoTrainerUI = {}
LeoTrainer.name = "LeoTrainer"
LeoTrainer.displayName = "Leo's Trainer"
-LeoTrainer.version = "1.1.1"
+LeoTrainer.version = "1.1.2"
LeoTrainer.chatPrefix = "|c39B027" .. LeoTrainer.name .. "|r: "
LeoTrainer.setting = nil
LeoTrainer.hidden = true
diff --git a/LeoTrainerUI.lua b/LeoTrainerUI.lua
index 0ca1015..2cc1ce9 100644
--- a/LeoTrainerUI.lua
+++ b/LeoTrainerUI.lua
@@ -546,7 +546,7 @@ local function getTraitResearchData(research, craft, line, trait)
return isKnown, isResearching, doneAt
end
-local function getNumOngoingResearchs(research, craft)
+local function getNumOngoingResearches(research, craft)
local num = 0
for _, researching in pairs(research.doing[craft]) do
if researching.doneAt - GetTimeStamp() > 0 then
@@ -627,7 +627,7 @@ function LeoTrainer.FillSlots(trainer, trainee)
return a.count < b.count
end)
local styleId
- local max = char.research.done[craft].max - getNumOngoingResearchs(char.research, craft)
+ local max = char.research.done[craft].max - getNumOngoingResearches(char.research, craft)
for i = 1, max do
for j, lineData in ipairs(lineList) do
if not lineData.added then