From 27a593d0e06419123a1b80819ec84b03b3dc8cd3 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Mon, 1 Sep 2014 21:52:23 +0200 Subject: [PATCH] Add support for gender specific spec info (???) on WoD --- oUF_P3lim.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 5ab2194..f94e33f 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -709,9 +709,9 @@ PreparationHandler:SetScript('OnEvent', function(self, event) for index = 1, GetNumArenaOpponentSpecs() do local Frame = preparationFrames[index] - local specID = GetArenaOpponentSpec(index) + local specID, gender = GetArenaOpponentSpec(index) if(specID and specID > 0) then - local _, name, _, _, _, _, class = GetSpecializationInfoByID(specID) + local _, name, _, _, _, _, class = GetSpecializationInfoByID(specID, gender) local color = RAID_CLASS_COLORS[class] Frame.Spec:SetFormattedText('|c%s%s|r', color.colorStr, name) -- 1.7.9.5