- 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

@ -1067,13 +1067,7 @@ function IceTargetHealth.prototype:UpdateBar(scale, color, alpha)
end
function IceTargetHealth.prototype:CheckPartyRole()
local IsLFGParty
local mode, submode
mode, submode= GetLFGMode()
IsLFGParty = (mode ~= nil and mode ~= "abandonedInDungeon" and mode ~= "queued")
if self.configMode or IsLFGParty then
if self.configMode or IceHUD:GetIsInLFGGroup() then
if self.configMode or self.moduleSettings.showPartyRoleIcon then
local isTank, isHeal, isDPS
local proposalExists, typeID, id, name