changeset 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 dbdd83d7982d
children 845e203ee4f0
files Main.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Main.lua	Thu Feb 05 08:15:03 2015 -0500
+++ b/Main.lua	Sun Feb 15 16:17:16 2015 -0500
@@ -1381,6 +1381,9 @@
         else
             Debug("%s: Currency texture is nil, from currency link %s", event_name, item_link)
         end
+        
+        -- Wipe object ID until future mouseover
+        last_garrison_cache_object_id = nil
     elseif raid_boss_id then
         local npc = NPCEntry(raid_boss_id)
         if npc then