mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-09 10:29:02 +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()
|
||||
|
||||
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 New Issue
Block a user