mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 22:37:02 -04:00
Annexed city from puppet status should not be in resistance.
This commit is contained in:
parent
751c33c609
commit
56f4d2d57b
@ -168,9 +168,13 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
|
||||
val annexCityButton = TextButton("Annex city".tr(), skin)
|
||||
annexCityButton.labelCell.pad(10f)
|
||||
annexCityButton.onClick {
|
||||
if(!city.civInfo.policies.isAdopted("Police State")) {
|
||||
city.expansion.cultureStored = 0
|
||||
city.expansion.reset()
|
||||
}
|
||||
|
||||
city.isPuppet=false
|
||||
city.isBeingRazed=false
|
||||
city.resistanceCounter = city.population.population
|
||||
update()
|
||||
}
|
||||
razeCityButtonHolder.add(annexCityButton).colspan(cityPickerTable.columns)
|
||||
|
Loading…
x
Reference in New Issue
Block a user