From 0e1a7f44c477318ff641b277ad65d37266213f80 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 20 May 2019 22:00:11 +0200 Subject: [PATCH] fixed enemy city buttons not to be clickable. simplifies tile selection when attacking --- core/src/com/unciv/ui/tilegroups/CityButton.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/com/unciv/ui/tilegroups/CityButton.kt b/core/src/com/unciv/ui/tilegroups/CityButton.kt index e80f05427f..0bcb541caa 100644 --- a/core/src/com/unciv/ui/tilegroups/CityButton.kt +++ b/core/src/com/unciv/ui/tilegroups/CityButton.kt @@ -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() {