Skip to content

Commit

Permalink
Add support for Wrath of the Lich King Classic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jademalo committed Aug 1, 2022
1 parent 86b9b79 commit bc9b3d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions SurroundFix.lua
Original file line number Diff line number Diff line change
@@ -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)



Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions SurroundFix.toc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc9b3d0

Please sign in to comment.