diff WorldQuests.lua @ 98:d594c5c4a4a3 v1.4.10

- Fixed quest markers for other maps becoming visible due to ambiguous interpretations of pin.used. - Removed some redundant filter checking calls on pins obtained through Acquire() - Attempted fix to a source of combat taint. - Attempt to fix quest markers not disappearing immediately after a completion spell is used.
author Nenue
date Mon, 15 May 2017 00:15:13 -0400
parents 5d90d09cb7b7
children fbd4ead2a19f
line wrap: on
line diff
--- a/WorldQuests.lua	Sun May 14 23:54:38 2017 -0400
+++ b/WorldQuests.lua	Mon May 15 00:15:13 2017 -0400
@@ -218,6 +218,7 @@
   -- calling this implies that the pin is used in some way
   if pin then
     pin:CheckFilterRules()
+    pin.isStale = true
   end
 end
 
@@ -282,7 +283,7 @@
 end
 
 function Module:OnSecureHook(callbackName, func, ...)
-  --rprint('|cFFFF4400'..callbackName..'|r', ...)
+  print('|cFFFF4400'..callbackName..'|r', ...)
   func(self, ...)
 end
 
@@ -555,7 +556,7 @@
         db.QuestsByZone[mapID][questID] = pin
       end
     else
-      print('|cFFFF4400not using|r', pin.title)
+      print('|cFFFF4400discarding|r', pin.title)
     end
   end
 end