mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 11:34:54 -04:00
Add spaces between 'replaces' unit promotion uniques
This commit is contained in:
parent
075b394e82
commit
8e2b443427
@ -298,7 +298,7 @@ object BaseUnitDescriptions {
|
|||||||
for (promotion in betterUnit.promotions.filter { it !in originalUnit.promotions }) {
|
for (promotion in betterUnit.promotions.filter { it !in originalUnit.promotions }) {
|
||||||
// Needs tr for **individual** translations (no bracket nesting), default separator would have extra blank
|
// Needs tr for **individual** translations (no bracket nesting), default separator would have extra blank
|
||||||
val effects = ruleset.unitPromotions[promotion]!!.uniques
|
val effects = ruleset.unitPromotions[promotion]!!.uniques
|
||||||
.joinToString(",") { it.tr() }
|
.joinToString() { it.tr() }
|
||||||
yield("{$promotion} ($effects)" to "Promotion/$promotion")
|
yield("{$promotion} ($effects)" to "Promotion/$promotion")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user