Skip to content

Commit

Permalink
Retail: Fixed a nil concat issue for Criteria names when they do not …
Browse files Browse the repository at this point in the history
…load from the game data
  • Loading branch information
ImUnicke committed Jul 24, 2024
1 parent e3767f3 commit 8291f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5174,7 +5174,7 @@ local function default_name(t)
-- criteria with spellID (TODO)

-- criteria fallback to base achievement name
name = "Criteria: "..select(2, GetAchievementInfo(achievementID))
name = "Criteria: "..(select(2, GetAchievementInfo(achievementID)) or "#"..criteriaID)
end
end
app.PrintDebug("failed to retrieve criteria name",achievementID,t.criteriaID,name,t._default_name_retry)
Expand Down

0 comments on commit 8291f3e

Please sign in to comment.