mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 13:40:13 -05:00
Updates for TBC classic. Switched as many versions checks as I could to feature detection rather than hardcoded version number checks.
This commit is contained in:
@ -22,10 +22,9 @@ local L = DogTag_Unit.L
|
||||
local newList = DogTag.newList
|
||||
local del = DogTag.del
|
||||
|
||||
local wow_ver = select(4, GetBuildInfo())
|
||||
local wow_500 = wow_ver >= 50000
|
||||
local PartyChangedEvent = "PARTY_MEMBERS_CHANGED"
|
||||
if wow_500 then
|
||||
if UnitIsGroupLeader then
|
||||
-- Changed in wow 5.0
|
||||
PartyChangedEvent = "GROUP_ROSTER_UPDATE"
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user