Gray out city state friend bonus when allied (#7475)

This commit is contained in:
Timo T 2022-07-17 20:50:04 +02:00 committed by GitHub
parent 1287eb2c05
commit 0ba7a457c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,7 +267,7 @@ class DiplomacyScreen(
.row()
}
val friendBonusLabelColor = if (relationLevel >= RelationshipLevel.Friend) Color.GREEN else Color.GRAY
val friendBonusLabelColor = if (relationLevel == RelationshipLevel.Friend) Color.GREEN else Color.GRAY
val friendBonusLabel = friendBonusText.toLabel(friendBonusLabelColor)
.apply { setAlignment(Align.center) }
diplomacyTable.add(friendBonusLabel).row()