mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 02:09:21 +07:00
2.13.14
This commit is contained in:
@ -21,8 +21,8 @@ android {
|
|||||||
applicationId "com.unciv.app"
|
applicationId "com.unciv.app"
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 215
|
versionCode 216
|
||||||
versionName "2.13.13"
|
versionName "2.13.14"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Had to add this crap for Travis to build, it wanted to sign the app
|
// Had to add this crap for Travis to build, it wanted to sign the app
|
||||||
|
@ -77,10 +77,10 @@ class Battle(val gameInfo:GameInfo) {
|
|||||||
|
|
||||||
|
|
||||||
if(defender.isDefeated()
|
if(defender.isDefeated()
|
||||||
&& defender.getUnitType() == UnitType.City
|
&& defender is CityCombatant
|
||||||
&& attacker.isMelee()
|
&& attacker.isMelee()
|
||||||
&& attacker.getUnitType().isLandUnit()){
|
&& 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
|
// we're a melee unit and we destroyed\captured an enemy unit
|
||||||
|
Reference in New Issue
Block a user