Resolved #3285 - added a notification when cities are no longer in resistance

This commit is contained in:
Yair Morgenstern
2020-10-24 22:43:04 +03:00
parent 93aa06bc99
commit 895ed528af
2 changed files with 6 additions and 1 deletions

View File

@ -313,7 +313,11 @@ class CityInfo {
cityStats.update()
tryUpdateRoadStatus()
attackedThisTurn = false
if (isInResistance()) resistanceCounter--
if (isInResistance()) {
resistanceCounter--
if (!isInResistance())
civInfo.addNotification("The resistance in [$name] has ended!", location, Color.YELLOW)
}
if (isPuppet) reassignPopulation()
}