View Single Post
09-10-14, 09:59 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Not related to the bug, but:

Code:
      local Player = GetRaidRosterInfo(Index)
      print('>', Player, Player == nil)
      if Player and Player ~= '' then
        Player = Ambiguate(GetRaidRosterInfo(Index), 'none')
Why call GetRaidRosterInfo(Index) a second time on the last line, when you already called it and stored its value in the Player variable on the first line? Just do Player = Ambiguate(Player, 'none') there.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.