"Raze City" button now placed correctly when there are multiple cities
This commit is contained in:
parent
f6ca98b1d7
commit
145c908af2
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
|
|||
}
|
||||
cityPickerTable.row()
|
||||
|
||||
if (civInfo.cities.size > 1) cityPickerTable.add()
|
||||
if(!city.isBeingRazed) {
|
||||
val razeCityButton = TextButton("Raze city", skin)
|
||||
razeCityButton.addClickListener { city.isBeingRazed=true; update() }
|
||||
|
|
Loading…
Reference in a new issue