diff --git a/SurroundFix.lua b/SurroundFix.lua index c57fcab..60af0e8 100644 --- a/SurroundFix.lua +++ b/SurroundFix.lua @@ -1,8 +1,9 @@ -------------------------------------------- --Check for project type -------------------------------------------- -local isVanilla = (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) -local isTBC = (WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC) +local isVanilla = (LE_EXPANSION_LEVEL_CURRENT == LE_EXPANSION_CLASSIC) +local isTBC = (LE_EXPANSION_LEVEL_CURRENT == LE_EXPANSION_BURNING_CRUSADE) +local isWrath = (LE_EXPANSION_LEVEL_CURRENT == LE_EXPANSION_NORTHREND) @@ -69,6 +70,8 @@ local function sfixAnnounce() --Chatspam function print("~SurroundFix Classic~") elseif isTBC then print("~SurroundFix Burning Crusade Classic~") + elseif isWrath then + print("~SurroundFix Wrath of the Lich King Classic~") else print("~SurroundFix~") end diff --git a/SurroundFix.toc b/SurroundFix.toc index 982c679..55efcf7 100644 --- a/SurroundFix.toc +++ b/SurroundFix.toc @@ -2,6 +2,7 @@ ## Interface-Retail: 90205 ## Interface-Vanilla: 11402 ## Interface-TBC: 20503 +## Interface-Wrath: 30400 ## Title: SurroundFix ## Notes: A fix for various UI issues with multiple monitor setups