Fix ShowDetails not working properly
continuous-integration/drone/push Build is passing Podrobnosti
continuous-integration/drone/tag Build is passing Podrobnosti

This commit is contained in:
Florian Brinker 2021-03-20 16:03:01 +01:00
rodič affde86fa9
revize 634f7b5c6d
2 změnil soubory, kde provedl 9 přidání a 1 odebrání

Zobrazit soubor

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

Zobrazit soubor

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