Removed a probably unnecessary check in unit.mayPassThrough() (#6008)

This commit is contained in:
Xander Lenstra 2022-01-22 17:32:55 +01:00 committed by GitHub
parent f4716689a3
commit feb9b19d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -599,7 +599,7 @@ class UnitMovementAlgorithms(val unit:MapUnit) {
if (tile.isLand
&& unit.baseUnit.isWaterUnit()
// Check that the tile is not a coastal city's center
&& !(tile.isCityCenter() && tile.isCoastalTile()))
&& !tile.isCityCenter())
return false