loot: replace function in global space

This commit is contained in:
shagu
2017-02-26 18:21:26 +01:00
parent 8752fa8106
commit 8e40807f39
+1 -1
View File
@@ -224,7 +224,7 @@ pfUI:RegisterModule("loot", function ()
LootFrame:UnregisterAllEvents()
table.insert(UISpecialFrames, "pfLootFrame")
function GroupLootDropDown_GiveLoot()
function _G.GroupLootDropDown_GiveLoot()
if ( pfUI.loot.selectedQuality >= MASTER_LOOT_THREHOLD ) then
local dialog = StaticPopup_Show("CONFIRM_LOOT_DISTRIBUTION", ITEM_QUALITY_COLORS[pfUI.loot.selectedQuality].hex..pfUI.loot.selectedItemName..FONT_COLOR_CODE_CLOSE, this:GetText())
if ( dialog ) then