# HG changeset patch # User Nenue # Date 1494820478 14400 # Node ID 5d90d09cb7b7de81008c21d13b7db0604f62665a # Parent 8591401ec278a625f21c070d9202416f9f32c659 - 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. diff -r 8591401ec278 -r 5d90d09cb7b7 WorldQuests.lua --- a/WorldQuests.lua Sun May 14 23:45:08 2017 -0400 +++ b/WorldQuests.lua Sun May 14 23:54:38 2017 -0400 @@ -214,14 +214,16 @@ end callbacks.UseWorldMapActionButtonSpellOnQuest = function(questID) - if db.QuestsByID[questID] then - db.QuestsByID[questID].isStale = true + local pin = db.QuestsByID[questID] + -- calling this implies that the pin is used in some way + if pin then + pin:CheckFilterRules() end end function Module:SetupCallbacks() if InCombatLockdown() then - return nil + return true end print('SetupCallbacks()') for target, arg in pairs(callbacks) do @@ -240,8 +242,6 @@ end) end end - - end function Module:Setup()