mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Bugfix: water units can't conquer cities
This commit is contained in:
parent
9c36ae0c6b
commit
7537f59bda
@ -59,7 +59,8 @@ class Battle(val gameInfo:GameInfo) {
|
||||
|
||||
if(defender.isDefeated()
|
||||
&& defender.getUnitType() == UnitType.City
|
||||
&& attacker.isMelee()){
|
||||
&& attacker.isMelee()
|
||||
&& attacker.getUnitType().isLandUnit()){
|
||||
conquerCity((defender as CityCombatant).city, attacker)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user