fix crash

His Dad [10-13-15 - 18:18]
fix crash
Filename
AIResearchGrid.lua
AIResearchGrid.txt
doc/changelog.txt
diff --git a/AIResearchGrid.lua b/AIResearchGrid.lua
index 7e4a035..3945a95 100644
--- a/AIResearchGrid.lua
+++ b/AIResearchGrid.lua
@@ -12,7 +12,7 @@ local _
 AIRG = {}

 AIRG.name = "AIResearchGrid"
-AIRG.version = "3.3.5"
+AIRG.version = "3.3.6"
 AIRG.initialised = false
 AIRG.processing = false
 AIRG.all = " #ALL"  -- Default displayname for Virtual character, overrwritten by Localised version
@@ -558,7 +558,7 @@ function AIRG.PopulateStyleData()
       local itemStyle = AIRG.styleLookupItem[17]
       for i = 1, 14 do
         local _, numCompleted = GetAchievementCriterion(1181, i)
-        AIRG.vars.styles[tAIRG.curCharacter][17][AIRG.styleChaptersLookup[i]] = numCompleted == 1
+        AIRG.vars.styles[AIRG.curCharacter][17][AIRG.styleChaptersLookup[i]] = numCompleted == 1
       end

       --Ancient Orc Style chapters
diff --git a/AIResearchGrid.txt b/AIResearchGrid.txt
index 1ce02f5..98bd98c 100644
--- a/AIResearchGrid.txt
+++ b/AIResearchGrid.txt
@@ -1,6 +1,6 @@
-## Title: |cFFFFB0Research Grid|r v3.3.5
+## Title: |cFFFFB0Research Grid|r v3.3.6
 ## APIVersion: 100012
-## Version: 3.3.5
+## Version: 3.3.6
 ## Author: Stormknight and Team
 ## OptionalDependsOn: LibAddonMenu-2.0
 ## SavedVariables: AIRG_SavedVariables
diff --git a/doc/changelog.txt b/doc/changelog.txt
index 92e3b62..da8073b 100644
--- a/doc/changelog.txt
+++ b/doc/changelog.txt
@@ -1,4 +1,10 @@
-2015-10-10  v3.3.5
+2015-10-14  v3.3.6
+	New Feature
+	None
+	Bug Fix
+	Fix type causing typo in on line 561
+
+2015-10-13  v3.3.5
 	New Feature
 	None
 	Bug Fix