Mercurial > wow > worldplan
comparison WorldMap.lua @ 110:f6ef9a9f5476
nop out `WorldMap_SetupWorldQuestButton` since we aren't using them visually
author | Nenue |
---|---|
date | Tue, 25 Jul 2017 12:38:27 -0400 |
parents | caa482329919 |
children | e8b6c5433128 |
comparison
equal
deleted
inserted
replaced
109:caa482329919 | 110:f6ef9a9f5476 |
---|---|
137 if (event == 'QUEST_LOG_UPDATE') then | 137 if (event == 'QUEST_LOG_UPDATE') then |
138 self:UpdateBounties(event) | 138 self:UpdateBounties(event) |
139 elseif event == 'WORLD_QUEST_COMPLETED_BY_SPELL' then | 139 elseif event == 'WORLD_QUEST_COMPLETED_BY_SPELL' then |
140 local questID = ... | 140 local questID = ... |
141 if questID and db.QuestsByID[questID] then | 141 if questID and db.QuestsByID[questID] then |
142 -- client-side quest completion status isn't updated until the next event stack | |
142 completedQuests[questID] = true | 143 completedQuests[questID] = true |
143 db.QuestsByID[questID]:Release() | 144 db.QuestsByID[questID]:Release() |
144 end | 145 end |
145 self:Refresh(event) | 146 self:Refresh(event) |
146 elseif event == 'SKILL_LINES_CHANGED' or event == 'CURRENT_SPELL_CAST_CHANGED' then | 147 elseif event == 'SKILL_LINES_CHANGED' or event == 'CURRENT_SPELL_CAST_CHANGED' then |