Skip to content

Commit

Permalink
Round of bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Nov 19, 2024
1 parent 9cbcf71 commit 924c6b4
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 247 deletions.
2 changes: 1 addition & 1 deletion WorldQuestTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function WorldQuestTracker:OnInit()
if (not WorldQuestTracker.db.profile.world_map_hubscale[hubMapID]) then
WorldQuestTracker.db.profile.world_map_hubscale[hubMapID] = defaultScale
end
if (not WorldQuestTracker.db.profile.world_map_hubenabled[hubMapID]) then
if (WorldQuestTracker.db.profile.world_map_hubenabled[hubMapID] == nil) then
WorldQuestTracker.db.profile.world_map_hubenabled[hubMapID] = true
end
end
Expand Down
8 changes: 8 additions & 0 deletions WorldQuestTracker_GroupFinder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,10 @@ ff:SetScript("OnEvent", function (self, event, questID, arg2, arg3)
elseif (event == "QUEST_ACCEPTED") then
--> get quest data

if (not questID) then
return
end

local isInArea, isOnMap = GetTaskInfo(questID)

--> do the regular checks
Expand Down Expand Up @@ -1285,6 +1289,10 @@ ff:SetScript("OnEvent", function (self, event, questID, arg2, arg3)


elseif (event == "QUEST_TURNED_IN") then
if (not questID) then
return
end

local isWorldQuest = isWorldQuest(questID)
if (isWorldQuest) then
ff.WorldQuestFinished (questID)
Expand Down
Loading

0 comments on commit 924c6b4

Please sign in to comment.