Mercurial > wow > wowdb-profiler
comparison Main.lua @ 425:5bd49f0b635c
Fixed bug in new SHOW_LOOT_TOAST currency data recording for chat-based loot.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Wed, 07 Jan 2015 19:05:01 -0500 |
parents | d06d1716228d |
children | de0795cfbe56 |
comparison
equal
deleted
inserted
replaced
424:d06d1716228d | 425:5bd49f0b635c |
---|---|
1569 end | 1569 end |
1570 | 1570 |
1571 GenericLootUpdate("items") | 1571 GenericLootUpdate("items") |
1572 current_loot = nil | 1572 current_loot = nil |
1573 container_loot_toasting = true -- Do not count further loots until timer expires or another container is opened | 1573 container_loot_toasting = true -- Do not count further loots until timer expires or another container is opened |
1574 elseif loot_source and (loot_source == LOOT_SOURCE_ID_REDUNDANT) and chat_loot_timer_handle then | 1574 elseif loot_source and (loot_source == LOOT_SOURCE_ID_REDUNDANT) and chat_loot_timer_handle and loot_type == "currency" then |
1575 local currency_texture = CurrencyLinkToTexture(item_link) | 1575 local currency_texture = CurrencyLinkToTexture(item_link) |
1576 if currency_texture and currency_texture ~= "" then | 1576 if currency_texture and currency_texture ~= "" then |
1577 local container_id = chat_loot_data.identifier -- For faster access, since this is going to be called 9 times in the next 3 lines | 1577 local container_id = chat_loot_data.identifier -- For faster access, since this is going to be called 9 times in the next 3 lines |
1578 -- Verify that we're still assigning data to the right items | 1578 -- Verify that we're still assigning data to the right items |
1579 if container_id and (private.CONTAINER_ITEM_ID_LIST[container_id] ~= nil) then | 1579 if container_id and (private.CONTAINER_ITEM_ID_LIST[container_id] ~= nil) then |