From 575c3eb819d9f3ea9d29b575c95e71a9e8d34e0a Mon Sep 17 00:00:00 2001 From: Flamanis Date: Mon, 16 May 2022 10:15:44 -0500 Subject: [PATCH] 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 --- Libs/DF/fw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 50b675c4..72adc4e6 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -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