Fix bug on tooltip timed update line 277
His Dad [09-01-15 - 20:12]
Fix bug on tooltip timed update line 277
diff --git a/AIResearchGrid.lua b/AIResearchGrid.lua
index 76e09c0..5f5d084 100644
--- a/AIResearchGrid.lua
+++ b/AIResearchGrid.lua
@@ -11,7 +11,7 @@ local _
AIRG = {}
AIRG.name = "AIResearchGrid"
-AIRG.version = "3.2.14"
+AIRG.version = "3.2.16"
AIRG.initialised = false
AIRG.processing = false
AIRG.all = " #ALL" -- Default displayname for Virtual character, overrwritten by Localised version
@@ -274,7 +274,7 @@ function AIRG.initUI()
ZO_Tooltips_ShowTextTooltip(self, RIGHT, tFormatted)
-- loop with "registerforupdate" once per second
EVENT_MANAGER:RegisterForUpdate(self.name, 1000, function()
- local tRemaining = tonumber(self.tooltipText) - GetTimeStamp()
+ local tRemaining = tonumber(self.Known) - GetTimeStamp()
local tFormatted = FormatTimeSeconds(tRemaining, TIME_FORMAT_STYLE_DESCRIPTIVE_SHORT, TIME_FORMAT_PRECISION_SECONDS, TIME_FORMAT_DIRECTION_DESCENDING)
ZO_Tooltips_ShowTextTooltip(self, RIGHT, tFormatted)
end)
diff --git a/AIResearchGrid.txt b/AIResearchGrid.txt
index 5b8c2f1..b36a506 100644
--- a/AIResearchGrid.txt
+++ b/AIResearchGrid.txt
@@ -1,6 +1,6 @@
-## Title: |cFFFFB0Research Grid|r v3.2.14
-## APIVersion: 100011
-## Version: 3.2.14
+## Title: |cFFFFB0Research Grid|r v3.2.16
+## APIVersion: 100012
+## Version: 3.2.16
## Author: Stormknight and Team
## OptionalDependsOn: LibAddonMenu-2.0
## SavedVariables: AIRG_SavedVariables
diff --git a/doc/changelog.txt b/doc/changelog.txt
index 6cda70c..509c624 100644
--- a/doc/changelog.txt
+++ b/doc/changelog.txt
@@ -1,3 +1,17 @@
+2015-09-02 v3.2.16
+ New Feature
+ Nil
+ Bug Fix
+ Fix tooltip crash on researching item
+
+
+2015-09-01 v3.2.15
+ New Feature
+ Nil
+ Updated Version String. API Bump for 1.7
+ Bug Fix
+ None
+
2015-08-31 v3.2.14
New Feature
Nil