mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-06 07:31:26 +07:00
"Consumes resources" unique not displayed twice for buildings in city screen
This commit is contained in:
parent
a05b8e4177
commit
2ea40c7cde
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user