This commit is contained in:
Yair Morgenstern
2019-03-14 22:29:25 +02:00
parent 9bccc739d4
commit 10d098b9de
2 changed files with 5 additions and 5 deletions

View File

@ -21,8 +21,8 @@ android {
applicationId "com.unciv.app"
minSdkVersion 14
targetSdkVersion 28
versionCode 215
versionName "2.13.13"
versionCode 216
versionName "2.13.14"
}
// Had to add this crap for Travis to build, it wanted to sign the app

View File

@ -77,10 +77,10 @@ class Battle(val gameInfo:GameInfo) {
if(defender.isDefeated()
&& defender.getUnitType() == UnitType.City
&& defender is CityCombatant
&& attacker.isMelee()
&& attacker.getUnitType().isLandUnit()){
conquerCity((defender as CityCombatant).city, attacker)
conquerCity(defender.city, attacker)
}
// we're a melee unit and we destroyed\captured an enemy unit