# HG changeset patch # User MMOSimca # Date 1420675501 18000 # Node ID 5bd49f0b635cf2d0e5c71bd5d00c2775d5f1fefd # Parent d06d1716228da46368eccb68bc4d4cb2ba16147a Fixed bug in new SHOW_LOOT_TOAST currency data recording for chat-based loot. diff -r d06d1716228d -r 5bd49f0b635c Main.lua --- a/Main.lua Wed Jan 07 17:32:19 2015 -0500 +++ b/Main.lua Wed Jan 07 19:05:01 2015 -0500 @@ -1571,7 +1571,7 @@ GenericLootUpdate("items") current_loot = nil container_loot_toasting = true -- Do not count further loots until timer expires or another container is opened - elseif loot_source and (loot_source == LOOT_SOURCE_ID_REDUNDANT) and chat_loot_timer_handle then + elseif loot_source and (loot_source == LOOT_SOURCE_ID_REDUNDANT) and chat_loot_timer_handle and loot_type == "currency" then local currency_texture = CurrencyLinkToTexture(item_link) if currency_texture and currency_texture ~= "" then local container_id = chat_loot_data.identifier -- For faster access, since this is going to be called 9 times in the next 3 lines