mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-09 15:10:00 +00:00
phase 1 removing tbc
This commit is contained in:
@@ -484,12 +484,6 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
|
||||
|
||||
pfUI.unlock:SetScript("OnShow", function()
|
||||
if this.skip then this.skip = nil return end
|
||||
if InCombatLockdown and InCombatLockdown() then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(ERR_NOT_IN_COMBAT, 1, .2, .2)
|
||||
this.skip = true
|
||||
this:Hide()
|
||||
return
|
||||
end
|
||||
|
||||
this.grid = this.grid or DrawGrid()
|
||||
|
||||
@@ -510,11 +504,6 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
|
||||
|
||||
pfUI.unlock:SetScript("OnHide", function()
|
||||
if this.skip then this.skip = nil return end
|
||||
if InCombatLockdown and InCombatLockdown() then
|
||||
this.skip = true
|
||||
this:Show()
|
||||
return
|
||||
end
|
||||
|
||||
for name, frame in pairs(pfUI.movables) do
|
||||
local frame = frame or _G[name]
|
||||
|
||||
Reference in New Issue
Block a user