From f0ce6a4ce545e4dc8d861b9697f5ed4d274797b5 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 30 Jan 2008 22:15:04 +0000 Subject: [PATCH] * "Hide Blizzard Party" should no longer pop up in battlegrounds, etc. --- PerfectRaid_Config.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PerfectRaid_Config.lua b/PerfectRaid_Config.lua index 8127553..22ff289 100644 --- a/PerfectRaid_Config.lua +++ b/PerfectRaid_Config.lua @@ -113,6 +113,7 @@ function Config:CreateOptions(opt) end end +local old_ShowPartyFrame = ShowPartyFrame function Config:PartyVisibility() local hideparty = PerfectRaid.db.profile.hideparty if hideparty then @@ -125,6 +126,8 @@ function Config:PartyVisibility() if PartyMemberBackground and SHOW_PARTY_BACKGROUND == "1" then PartyMemberBackground:Hide() end + + ShowPartyFrame = function() end HidePartyFrame() elseif self.hidingparty then self.hidingparty = false @@ -152,6 +155,7 @@ function Config:PartyVisibility() if PartyMemberBackground and SHOW_PARTY_BACKGROUND == "1" then PartyMemberBackground:Show() end + ShowPartyFrame = old_ShowPartyFrame ShowPartyFrame() end end -- 1.7.9.5