# HG changeset patch # User James D. Callahan III # Date 1373319315 18000 # Node ID 4986ef8a338a14c6c3764439be53feca1d2186db # Parent 1e55a8ebedbde7a609313a780f853c1b7079c023 Initialize current_loot whenever there is a container_id in SHOW_LOOT_TOAST - not just when the type is "item". diff -r 1e55a8ebedbd -r 4986ef8a338a Main.lua --- a/Main.lua Mon Jul 08 13:26:23 2013 -0500 +++ b/Main.lua Mon Jul 08 16:35:15 2013 -0500 @@ -1134,12 +1134,13 @@ elseif container_id then private.loot_toast_container_id = nil + InitializeCurrentLoot() + if loot_type == "item" then if not item_id then Debug("%s: ItemID is nil, from item link %s", event_name, item_link) return end - InitializeCurrentLoot() current_loot.sources[container_id] = { [item_id] = quantity, }