Fix ShowDetails not working properly
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Florian Brinker 2021-03-20 16:03:01 +01:00
parent affde86fa9
commit 634f7b5c6d
2 changed files with 9 additions and 1 deletions

View File

@ -73,7 +73,12 @@ function AchievementInfo.onAchievementUpdated(_, achId)
tmpOutput = tmpOutput .. AchievementInfo.clrCriteriaComplete .. numRequired .. "|r"
tmpOutput = tmpOutput .. AchievementInfo.clrDefault
if AchievementInfo.settingGet("genShowOpenDetailsOnly") == true and numCompleted ~= numRequired then
if AchievementInfo.settingGet("genShowOpenDetailsOnly") == true then
if numCompleted ~= numRequired then
detailOutput[detailOutputCount] = tmpOutput
detailOutputCount = detailOutputCount + 1
end
else
detailOutput[detailOutputCount] = tmpOutput
detailOutputCount = detailOutputCount + 1
end

View File

@ -1,5 +1,8 @@
#### Notable Changes
##### Release 4.5
* Fixed "ShowDetails" option working only in combination with "ShowOpenDetailsOnly"
##### Release 4.3
* Fixed an error with gendered achievement descriptions