Quantcast

Fixed: RU,KR,CH (both traditional and simplified) locales where broken

Alar of Daggerspine [12-24-14 - 18:08]
Fixed: RU,KR,CH (both traditional and simplified) locales where broken
Fixed: error when upgrading a follower for the first time

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
CHANGELOG.txt
GarrisonCommander.lua
GarrisonCommander.toc
RelNotes.lua
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 021d1f8..e1e2ddd 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,7 @@
 = GarrisonCommander helps you when choosing the right follower for the right mission =
 * 2.0.1
 Fixed: RU,KR,CH (both traditional and simplified) locales where broken
+Fixed: error when upgrading a follower for the first time
 * 2.0.0
 Gui totally redesigned, mission filling, mission sort, follower page enhancements
 * 1.1.7
diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua
index ea7b9ab..64745af 100644
--- a/GarrisonCommander.lua
+++ b/GarrisonCommander.lua
@@ -1809,6 +1809,7 @@ end
 -- Shamelessly stolen from Blizzard Code
 function addon:FillMissionButton(button)
 	local mission=button.info
+	if (not mission) then return end
 	button.Title:SetWidth(0);
 	button.Title:SetText(mission.name);
 	button.Level:SetText(mission.level);
diff --git a/GarrisonCommander.toc b/GarrisonCommander.toc
index 3c1b732..a731ce4 100644
--- a/GarrisonCommander.toc
+++ b/GarrisonCommander.toc
@@ -5,7 +5,7 @@
 ## Notes-frFR: Vous aide au moment de choisir le droit utilisateur pour la bonne mission
 ## Author: Alar of Daggerspine
 ## Version: @project-version@ @project-abbreviated-hash@
-## X-Version: 2.0.0
+## X-Version: 2.0.1
 ## X-Revision: @project-abbreviated-hash@
 ## eMail: alar@aspide.it
 ## URL: http://wow.aspide.it
diff --git a/RelNotes.lua b/RelNotes.lua
index 652046d..739fa52 100644
--- a/RelNotes.lua
+++ b/RelNotes.lua
@@ -24,6 +24,7 @@ typing /gac silent in chat will eliminate every chat messag from GarrisonCommand
 ]])
 self:RelNotes(2,0,1)[[
 Fixed: RU,KR,CH (both traditional and simplified) locales where broken
+Fixed: error when upgrading a follower for the first time
 ]]
 self:RelNotes(2,0,0,[[
 Gui totally redesigned, tons of feature added