mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 13:00:50 +00:00
loot: cancel loot when closing the lootframe
This commit is contained in:
@@ -100,6 +100,11 @@ pfUI:RegisterModule("loot", function ()
|
|||||||
return frame
|
return frame
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pfUI.loot:SetScript("OnHide", function()
|
||||||
|
StaticPopup_Hide("CONFIRM_LOOT_DISTRIBUTION")
|
||||||
|
CloseLoot()
|
||||||
|
end)
|
||||||
|
|
||||||
pfUI.loot:SetScript("OnEvent", function()
|
pfUI.loot:SetScript("OnEvent", function()
|
||||||
local maxrarity, maxwidth = 0, 0
|
local maxrarity, maxwidth = 0, 0
|
||||||
if event == "OPEN_MASTER_LOOT_LIST" then
|
if event == "OPEN_MASTER_LOOT_LIST" then
|
||||||
|
|||||||
Reference in New Issue
Block a user