mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
minimap panel now listens to its event
This commit is contained in:
+3
-1
@@ -9,7 +9,9 @@ pfUI:RegisterModule("panel", function ()
|
||||
pfUI.panel:RegisterEvent("PLAYER_GUILD_UPDATE")
|
||||
pfUI.panel:RegisterEvent("PLAYER_REGEN_ENABLED")
|
||||
pfUI.panel:RegisterEvent("PLAYER_DEAD")
|
||||
pfUI.panel:SetScript("OnEvent", function()
|
||||
pfUI.panel:RegisterEvent("MINIMAP_ZONE_CHANGED")
|
||||
|
||||
pfUI.panel:SetScript("OnEvent", function()
|
||||
if event == "PLAYER_ENTERING_WORLD" then
|
||||
pfUI.panel:UpdateGold()
|
||||
pfUI.panel:UpdateRepair();
|
||||
|
||||
Reference in New Issue
Block a user