From c3f700ddc67daf6643a48ff7abc184fe58fc83c9 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 23 May 2019 13:37:21 +0200 Subject: [PATCH] notifications with LocationAction don't select units, but only the tile --- core/src/com/unciv/logic/civilization/Notification.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/civilization/Notification.kt b/core/src/com/unciv/logic/civilization/Notification.kt index b5d6920aa2..6d279d4bb0 100644 --- a/core/src/com/unciv/logic/civilization/Notification.kt +++ b/core/src/com/unciv/logic/civilization/Notification.kt @@ -32,7 +32,7 @@ data class LocationAction(var locations: ArrayList = ArrayList()) : Not if (locations.isNotEmpty()) { var index = locations.indexOf(worldScreen.tileMapHolder.selectedTile?.position) index = ++index % locations.size // cycle through locations - worldScreen.tileMapHolder.setCenterPosition(locations[index]) + worldScreen.tileMapHolder.setCenterPosition(locations[index], selectUnit = false) } }