From 8e40807f39b9b3986483d03b979ed7d04d149de1 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 26 Feb 2017 18:21:26 +0100 Subject: [PATCH] loot: replace function in global space --- modules/loot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/loot.lua b/modules/loot.lua index 2ad8964b..c4236682 100644 --- a/modules/loot.lua +++ b/modules/loot.lua @@ -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