Skip to content

Commit

Permalink
[retail] Only load new pvp popup skin in 9.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gethe committed Feb 19, 2022
1 parent e2b6ebf commit da9c12a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Skin/Retail/Interface/FrameXML/PvpPopup.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local _, private = ...
if not private.isRetail then return end
if not private.isPatch then return end

--[[ Lua Globals ]]
-- luacheck: globals ipairs
Expand Down
2 changes: 1 addition & 1 deletion Skin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ private.isClassic = _G.WOW_PROJECT_ID == _G.WOW_PROJECT_CLASSIC
private.isBCC = _G.WOW_PROJECT_ID == _G.WOW_PROJECT_BURNING_CRUSADE_CLASSIC

private.hasAPI = (not private.isRetail) and _G.Enum.UnitSex
private.isPatch = private.isRetail and select(4, _G.GetBuildInfo()) >= 90105
private.isPatch = private.isRetail and select(4, _G.GetBuildInfo()) >= 90200

private.uiScale = 1
private.disabled = {
Expand Down

0 comments on commit da9c12a

Please sign in to comment.