Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Nov 24, 2020
1 parent 9f2f998 commit bdefe79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .vscode/bookmarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
{
"path": "$ROOTPATH$\\WorldQuestTracker_GroupFinder.lua",
"bookmarks": [
{
"line": 133,
"column": 27,
"label": ""
},
{
"line": 308,
"column": 34,
Expand Down
5 changes: 4 additions & 1 deletion WorldQuestTracker_GroupFinder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ local GetDistance_Point = DF.GetDistance_Point
elseif (event == "LFG_LIST_SEARCH_RESULTS_RECEIVED") then
local results = LFGListFrame.SearchPanel.results
--no results?
if (#results == 0) then
if (results and #results == 0) then
--show the create group button if in quest category
local selectedCategory = LFGListFrame.SearchPanel.categoryID
if (selectedCategory ~= 1) then
Expand Down Expand Up @@ -1086,6 +1086,9 @@ ff:SetScript ("OnEvent", function (self, event, questID, arg2, arg3)
end

local tagInfo = C_QuestLog.GetQuestTagInfo(questID)
if (not tagInfo) then
return
end
local tagID = tagInfo.tagID
local rarity = tagInfo.rarity or 1
local isElite = tagInfo.isElite
Expand Down

0 comments on commit bdefe79

Please sign in to comment.