mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 03:23:17 -04:00
"Consumes resources" unique not displayed twice for units
This commit is contained in:
parent
41c7e4e9b1
commit
a05b8e4177
@ -56,7 +56,8 @@ object BaseUnitDescriptions {
|
||||
lines += "$strengthLine${baseUnit.movement}${Fonts.movement}"
|
||||
|
||||
if (baseUnit.replacementTextForUniques != "") lines += baseUnit.replacementTextForUniques
|
||||
else baseUnit.uniquesToDescription(lines) { type == UniqueType.Unbuildable }
|
||||
else baseUnit.uniquesToDescription(lines) { type == UniqueType.Unbuildable
|
||||
|| type == UniqueType.ConsumesResources } // Already displayed in the resource requirements
|
||||
|
||||
if (baseUnit.promotions.isNotEmpty()) {
|
||||
val prefix = "Free promotion${if (baseUnit.promotions.size == 1) "" else "s"}:".tr() + " "
|
||||
|
Loading…
x
Reference in New Issue
Block a user