Skip to content

Commit

Permalink
Fixed a couple minor discrepancies on where 'Retrieving data' is used…
Browse files Browse the repository at this point in the history
… for quest names
  • Loading branch information
ImUnicke committed Nov 9, 2023
1 parent 5d07cc1 commit 802bc58
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1097,8 +1097,8 @@ local function GetProgressTextForTooltip(data, iconOnly)
return app.TableConcat(text, nil, "", " ");
end
local function GetAddedWithPatchString(awp, addedBack)
if awp then
awp = tonumber(awp);
if awp then
local formatString = "ADDED";
if app.GameBuildVersion == awp then
formatString = "WAS_" .. formatString;
Expand Down Expand Up @@ -6888,7 +6888,6 @@ local QuestNameFromServer = setmetatable({}, { __index = function(t, id)

app.RequestLoadQuestByID(id);
end
return RETRIEVING_DATA;
end});
local QuestNameDefault = setmetatable({}, { __index = function(t, id)
if id then
Expand Down Expand Up @@ -8179,9 +8178,7 @@ local function default_name(t)
local name
for k,id in ipairs(sourceQuests) do
name = app.GetQuestName(id);
if name then
return name
end
if not IsRetrieving(name) then return name; end
end
return
end
Expand Down

0 comments on commit 802bc58

Please sign in to comment.