Mercurial > wow > wowdb-profiler
comparison Main.lua @ 431:3f038cb19197
Prevent bug where garrison cache data could be assigned to the wrong object ID if mouseover events were delayed.
author | MMOSimca <MMOSimca@gmail.com> |
---|---|
date | Sun, 15 Feb 2015 16:17:16 -0500 |
parents | 95af8e72aa19 |
children | b220bc8dd3a8 |
comparison
equal
deleted
inserted
replaced
430:dbdd83d7982d | 431:3f038cb19197 |
---|---|
1379 Debug("%s: When handling the Garrison cache, the top level loot data was missing for objectID %d.", event_name, last_garrison_cache_object_id) | 1379 Debug("%s: When handling the Garrison cache, the top level loot data was missing for objectID %d.", event_name, last_garrison_cache_object_id) |
1380 end | 1380 end |
1381 else | 1381 else |
1382 Debug("%s: Currency texture is nil, from currency link %s", event_name, item_link) | 1382 Debug("%s: Currency texture is nil, from currency link %s", event_name, item_link) |
1383 end | 1383 end |
1384 | |
1385 -- Wipe object ID until future mouseover | |
1386 last_garrison_cache_object_id = nil | |
1384 elseif raid_boss_id then | 1387 elseif raid_boss_id then |
1385 local npc = NPCEntry(raid_boss_id) | 1388 local npc = NPCEntry(raid_boss_id) |
1386 if npc then | 1389 if npc then |
1387 local loot_label = "drops" | 1390 local loot_label = "drops" |
1388 local encounter_data = npc:EncounterData(InstanceDifficultyToken()) | 1391 local encounter_data = npc:EncounterData(InstanceDifficultyToken()) |