Resolved #1433 - city-states immediately destroy cities upon conquering

This commit is contained in:
Yair Morgenstern 2019-12-09 18:42:18 +02:00
parent 969ecf6daa
commit 32ac709a02
4 changed files with 5 additions and 3 deletions

View file

@ -249,6 +249,11 @@ class Battle(val gameInfo:GameInfo) {
}
city.hasJustBeenConquered = true
if (!attackerCiv.isMajorCiv()){
city.destroyCity()
return
}
if (attackerCiv.isPlayerCivilization())
attackerCiv.popupAlerts.add(PopupAlert(AlertType.CityConquered, city.name))
else {

View file

@ -334,9 +334,6 @@ class CityInfo {
/** This happens when we either puppet OR annex, basically whenever we conquer a city and don't liberate it */
fun puppetCity(conqueringCiv: CivilizationInfo) {
if (!conqueringCiv.isMajorCiv()){
destroyCity()
}
val oldCiv = civInfo
moveToCiv(conqueringCiv)

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB