mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 09:48:12 +07:00
Bugfix: water units can't conquer cities
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user