Add feature flag for UnitGroupRolesAssigned

This commit is contained in:
Parnic
2022-09-02 14:31:51 -05:00
parent 777cf01174
commit ee72cd1f33
3 changed files with 3 additions and 2 deletions

View File

@ -1108,7 +1108,7 @@ function IceTargetHealth.prototype:CheckPartyRole()
proposalExists, id, typeID, subtypeID, name, texture, role, hasResponded, totalEncounters, completedEncounters, numMembers, isleader = GetLFGProposal()
local p = self.unit
if IceHUD.WowVer < 40000 then
if not IceHUD.UnitGroupRolesReturnsRoleString then
isTank, isHeal, isDPS = UnitGroupRolesAssigned(p)
else
local grpRole = UnitGroupRolesAssigned(p)