mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-04 00:59:41 +07:00
Gray out city state friend bonus when allied (#7475)
This commit is contained in:
@ -267,7 +267,7 @@ class DiplomacyScreen(
|
|||||||
.row()
|
.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)
|
val friendBonusLabel = friendBonusText.toLabel(friendBonusLabelColor)
|
||||||
.apply { setAlignment(Align.center) }
|
.apply { setAlignment(Align.center) }
|
||||||
diplomacyTable.add(friendBonusLabel).row()
|
diplomacyTable.add(friendBonusLabel).row()
|
||||||
|
Reference in New Issue
Block a user