mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 22:04:47 +07:00
Resolved #1433 - city-states immediately destroy cities upon conquering
This commit is contained in:
parent
969ecf6daa
commit
32ac709a02
@ -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 New Issue
Block a user