Quantcast

Was returning a list instead of a table

Alar of Daggerspine [12-29-14 - 16:27]
Was returning a list instead of a table

Signed-off-by: Alar of Daggerspine <alar@aspide.it>
Filename
GarrisonCommander.lua
diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua
index 04aacaa..170a5b7 100644
--- a/GarrisonCommander.lua
+++ b/GarrisonCommander.lua
@@ -256,7 +256,7 @@ function addon:GetDifficultyColor(perc,usePurple)
 	elseif(perc >20) then
 		return QuestDifficultyColors['impossible']
 	else
-		return not usePurple and QuestDifficultyColors['trivial'] or C.Purple()
+		return not usePurple and QuestDifficultyColors['trivial'] or C.Purple
 	end
 end
 if (LibDebug) then LibDebug() end