diff --git a/Alliance.lua b/Alliance.lua index 5d70dbb..7e92286 100644 --- a/Alliance.lua +++ b/Alliance.lua @@ -192,6 +192,10 @@ points[71] = { -- "Tanaris" [52643026] = "11833:H", -- Gadgetzan (east) } +points[12] = { -- "Teldrassil" + [43611031] = "11824:H", -- Dolanaar +} + points[57] = { -- "Teldrassil" [54885277] = "11824:H", -- Dolanaar } diff --git a/Core.lua b/Core.lua index dc8c771..067c41e 100644 --- a/Core.lua +++ b/Core.lua @@ -306,18 +306,6 @@ function SummerFestival:OnEnable() return end - -- special treatment for Teldrassil as C_Map.GetMapChildrenInfo() isn't recognising it as a "child zone" of Kalimdor at the moment - if UnitFactionGroup("player") == "Alliance" then - points[12] = { - [43611031] = "11824:H", -- Dolanaar - } - elseif UnitFactionGroup("player") == "Horde" then - points[12] = { - [43541026] = "11753:D", -- Dolanaar - [40370935] = "9332:C", -- Stealing Darnassus' Flame - } - end - for continentMapID in next, continents do local children = C_Map.GetMapChildrenInfo(continentMapID, nil, true) if not children then HandyNotes:Print("Map ID " .. continentMapID .. " has invalid data. Please inform the author of HandyNotes_SummerFestival. (WoW Project ID " .. WOW_PROJECT_ID .. ")") diff --git a/Horde.lua b/Horde.lua index 63a0fd7..d9b1def 100644 --- a/Horde.lua +++ b/Horde.lua @@ -192,6 +192,11 @@ points[71] = { -- "Tanaris" [52673003] = "11762:D", -- Gadgetzan (east) } +points[12] = { + [40370935] = "9332:C", -- Stealing Darnassus' Flame + [43541026] = "11753:D", -- Dolanaar +} + points[57] = { -- "Teldrassil" [34524759] = "9332:C", -- Stealing Darnassus' Flame [54745293] = "11753:D", -- Dolanaar