Fix ShowDetails not working properly
已通過所有檢查
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
父節點 affde86fa9
當前提交 634f7b5c6d
共有 2 個檔案被更改,包括 9 行新增1 行删除

查看文件

@ -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

查看文件

@ -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