# HG changeset patch # User Nenue # Date 1459943659 14400 # Node ID 6bd2102d340b4e0b8729db60a894fcb8432f6ca6 # Parent 605e8f0e46db888c6248331a833704d256a0700f ObjectiveCore - sorting out oddball events diff -r 605e8f0e46db -r 6bd2102d340b ObjectiveCore.lua --- a/ObjectiveCore.lua Wed Apr 06 07:38:35 2016 -0400 +++ b/ObjectiveCore.lua Wed Apr 06 07:54:19 2016 -0400 @@ -262,6 +262,7 @@ elseif ( event == "QUEST_AUTOCOMPLETE" ) then local questId = ...; AddAutoQuestPopUp(questId, "COMPLETE"); + mod:Update(OBJECTIVE_TRACKER_UPDATE_STATIC) elseif ( event == "SCENARIO_UPDATE" ) then local newStage = ...; if ( newStage ) then @@ -277,7 +278,7 @@ elseif ( event == "QUEST_TURNED_IN" ) then local questID, xp, money = ...; if ( IsQuestTask(questID) ) then - mod.Bonus:Update() + mod:Update(OBJECTIVE_TRACKER_UPDATE_MODULE_BONUS_OBJECTIVE) end elseif ( event == "PLAYER_MONEY" and self.watchMoneyReasons > 0 ) then mod:Update(self.watchMoneyReasons); diff -r 605e8f0e46db -r 6bd2102d340b ObjectiveEvents.lua --- a/ObjectiveEvents.lua Wed Apr 06 07:38:35 2016 -0400 +++ b/ObjectiveEvents.lua Wed Apr 06 07:54:19 2016 -0400 @@ -65,6 +65,8 @@ mod:Update(OBJECTIVE_TRACKER_UPDATE_MODULE_AUTO_QUEST_POPUP) end + + mod.SetSuperTrackedQuestID = function(questID) mod:Update() end \ No newline at end of file