diff --git a/android/build.gradle b/android/build.gradle index 59f8123eb1..59daab8699 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,8 +21,8 @@ android { applicationId "com.unciv.app" minSdkVersion 14 targetSdkVersion 28 - versionCode 258 - versionName "2.17.7" + versionCode 259 + versionName "2.17.8" } // Had to add this crap for Travis to build, it wanted to sign the app diff --git a/core/src/com/unciv/logic/map/MapUnit.kt b/core/src/com/unciv/logic/map/MapUnit.kt index d1a5ad1d28..f92c8b5e30 100644 --- a/core/src/com/unciv/logic/map/MapUnit.kt +++ b/core/src/com/unciv/logic/map/MapUnit.kt @@ -473,7 +473,7 @@ class MapUnit { fun disband(){ destroy() - if(currentTile.isCityCenter() && currentTile.getOwner()==civInfo) + if(currentTile.getOwner()==civInfo) civInfo.gold += baseUnit.getDisbandGold() }