mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
show wars in global politics (#7887)
* Update GlobalPoliticsOverviewTable.kt * Update GlobalPoliticsOverviewTable.kt
This commit is contained in:
parent
f0ad7581bc
commit
22a97855b1
@ -163,7 +163,7 @@ class GlobalPoliticsOverviewTable (
|
||||
|
||||
// wars
|
||||
for (otherCiv in civ.getKnownCivs()) {
|
||||
if(civ.diplomacy[otherCiv.civName]?.hasFlag(DiplomacyFlags.DeclaredWar) == true) {
|
||||
if(civ.isAtWarWith(otherCiv)) {
|
||||
val warText = "At war with [${otherCiv.civName}]".toLabel()
|
||||
warText.color = Color.RED
|
||||
politicsTable.add(warText).row()
|
||||
|
Loading…
Reference in New Issue
Block a user