- Fixed GetLFGMode() errors in 5.0

This commit is contained in:
Parnic
2012-07-03 04:30:50 +00:00
parent 2c6e8e3bd9
commit 028658a2be
3 changed files with 35 additions and 14 deletions

View File

@ -1005,13 +1005,7 @@ function PlayerHealth.prototype:CheckCombat()
end
function PlayerHealth.prototype:CheckPartyRole()
local IsLFGParty
local mode, submode
mode, submode= GetLFGMode()
IsLFGParty = (mode ~= nil and mode ~= "abandonedInDungeon" and mode ~= "queued")
if configMode or IsLFGParty then
if configMode or IceHUD:GetIsInLFGGroup() then
if (configMode or self.moduleSettings.showPartyRoleIcon) and not self.frame.PartyRoleIcon then
local isTank, isHeal, isDPS
local proposalExists, typeID, id, name