"Consumes resources" unique not displayed twice for buildings in city screen

This commit is contained in:
yairm210 2024-07-01 19:21:29 +03:00
parent a05b8e4177
commit 2ea40c7cde

View File

@ -60,7 +60,7 @@ object BuildingDescriptions {
if (uniques.isNotEmpty()) {
if (replacementTextForUniques.isNotEmpty()) translatedLines += replacementTextForUniques.tr()
else translatedLines += getUniquesStringsWithoutDisablers().map { it.tr() }
else translatedLines += getUniquesStringsWithoutDisablers{ it.type != UniqueType.ConsumesResources }.map { it.tr() }
}
if (!stats.isEmpty())
translatedLines += stats.toString()