diff ObjectiveTracker/Events.lua @ 31:48b3e3959a0a

- clean up method arguments
author Nenue
date Thu, 14 Apr 2016 19:39:05 -0400
parents c33c17dd97e7
children 9856ebc63fa4
line wrap: on
line diff
--- a/ObjectiveTracker/Events.lua	Thu Apr 14 17:11:13 2016 -0400
+++ b/ObjectiveTracker/Events.lua	Thu Apr 14 19:39:05 2016 -0400
@@ -30,6 +30,10 @@
     print('cleaning dead WatchInfo entry')
     Quest.WatchInfo[info.watchIndex] = nil
   end
+  if Quest.itemButtons[info.questID] then
+    -- hide for now, it will get cleaned up shortly
+    Quest.itemButtons[info.questID]:Hide()
+  end
 
   T:Update(OBJECTIVE_TRACKER_UPDATE_MODULE_QUEST)
 end