Resolved #1433 - city-states immediately destroy cities upon conquering
This commit is contained in:
parent
969ecf6daa
commit
32ac709a02
4 changed files with 5 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
BIN
extraImages/Unciv icon v4 Simplified 32.png
Normal file
BIN
extraImages/Unciv icon v4 Simplified 32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
extraImages/Unciv icon v4 Simplified.png
Normal file
BIN
extraImages/Unciv icon v4 Simplified.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Loading…
Reference in a new issue