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