mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 09:18:43 +07:00
Resolved #885 - units disbanding on your tiles yields gold even when not on city center
This commit is contained in:
@ -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
|
||||
|
@ -473,7 +473,7 @@ class MapUnit {
|
||||
|
||||
fun disband(){
|
||||
destroy()
|
||||
if(currentTile.isCityCenter() && currentTile.getOwner()==civInfo)
|
||||
if(currentTile.getOwner()==civInfo)
|
||||
civInfo.gold += baseUnit.getDisbandGold()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user