mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
fixed enemy city buttons not to be clickable. simplifies tile selection when attacking
This commit is contained in:
parent
d3f7a73cf3
commit
0e1a7f44c4
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user