mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
Fixed a bug where protected city states would have a red line to their protector in the diplomacy overview screen (#5761)
This commit is contained in:
parent
31639aac9f
commit
a46f638ef1
@ -173,7 +173,7 @@ class DiplomacyOverviewTable (
|
||||
val statusLine = ImageGetter.getLine(civGroup.x + civGroup.width / 2, civGroup.y + civGroup.height / 2,
|
||||
otherCivGroup.x + otherCivGroup.width / 2, otherCivGroup.y + otherCivGroup.height / 2, 2f)
|
||||
|
||||
statusLine.color = if (diplomacy.diplomaticStatus == DiplomaticStatus.Peace) Color.GREEN else Color.RED
|
||||
statusLine.color = if (diplomacy.diplomaticStatus == DiplomaticStatus.War) Color.RED else Color.GREEN
|
||||
|
||||
civLines[civ.civName]!!.add(statusLine)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user