mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-10 02:47:24 +07:00
"Raze City" button now placed correctly when there are multiple cities
This commit is contained in:
parent
f6ca98b1d7
commit
145c908af2
@ -148,6 +148,7 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
|
|||||||
}
|
}
|
||||||
cityPickerTable.row()
|
cityPickerTable.row()
|
||||||
|
|
||||||
|
if (civInfo.cities.size > 1) cityPickerTable.add()
|
||||||
if(!city.isBeingRazed) {
|
if(!city.isBeingRazed) {
|
||||||
val razeCityButton = TextButton("Raze city", skin)
|
val razeCityButton = TextButton("Raze city", skin)
|
||||||
razeCityButton.addClickListener { city.isBeingRazed=true; update() }
|
razeCityButton.addClickListener { city.isBeingRazed=true; update() }
|
||||||
|
Loading…
Reference in New Issue
Block a user