Change check on UnitGroupRolesAssigned
Check in UnitGroupRolesAssigned checked for function existence. The function exists in TBC, but returns NONE for everyone. Changed check for IsTimewalkWoW
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ function DF.IsTBCWow()
|
||||
end
|
||||
|
||||
function DF.UnitGroupRolesAssigned (unitId)
|
||||
if (UnitGroupRolesAssigned) then
|
||||
if (not DF.IsTimewalkWoW()) then --Was function exist check. TBC has function, returns NONE. -Flamanis 5/16/2022
|
||||
return UnitGroupRolesAssigned (unitId)
|
||||
else
|
||||
--attempt to guess the role by the player spec
|
||||
|
||||
Reference in New Issue
Block a user