fixed enemy city buttons not to be clickable. simplifies tile selection when attacking

This commit is contained in:
martin 2019-05-20 22:00:11 +02:00 committed by Yair Morgenstern
parent d3f7a73cf3
commit 0e1a7f44c4

View File

@ -39,7 +39,6 @@ class CityButton(val city: CityInfo, internal val tileGroup: WorldTileGroup, ski
// So you can click anywhere on the button to go to the city
touchable = Touchable.enabled
label.touchable = Touchable.enabled
// clicking swings the button a little down to allow selection of units there.
// this also allows to target selected units to move to the city tile from elsewhere.
@ -102,7 +101,6 @@ class CityButton(val city: CityInfo, internal val tileGroup: WorldTileGroup, ski
pack()
setOrigin(Align.center)
centerX(tileGroup)
touchable = Touchable.enabled
}
private fun moveButtonDown() {