diff --git a/core/src/com/unciv/logic/automation/BattleHelper.kt b/core/src/com/unciv/logic/automation/BattleHelper.kt index 6bbf151c25..5c226527e8 100644 --- a/core/src/com/unciv/logic/automation/BattleHelper.kt +++ b/core/src/com/unciv/logic/automation/BattleHelper.kt @@ -91,9 +91,10 @@ object BattleHelper { } fun containsAttackableEnemy(tile: TileInfo, combatant: ICombatant): Boolean { - if (combatant is MapUnitCombatant && combatant.unit.isEmbarked()) { + if (combatant is MapUnitCombatant && combatant.unit.isEmbarked() && !combatant.hasUnique(UniqueType.AttackOnSea)) { // Can't attack water units while embarked, only land - if (tile.isWater || combatant.isRanged()) return combatant.hasUnique(UniqueType.AttackOnSea) + if (tile.isWater || combatant.isRanged()) + return false } val tileCombatant = Battle.getMapCombatantOfTile(tile) ?: return false