Allow passable natural wonders (#7550)

This commit is contained in:
OptimizedForDensity 2022-07-28 16:00:31 -04:00 committed by GitHub
parent 8331b87f64
commit 64e79ffa0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -666,7 +666,6 @@ class UnitMovementAlgorithms(val unit: MapUnit) {
if (tile.isOcean && !unit.civInfo.tech.allUnitsCanEnterOcean) { // Apparently all Polynesian naval units can enter oceans
if (!unitSpecificAllowOcean && unit.cannotEnterOceanTiles) return false
}
if (tile.naturalWonder != null) return false
if (!unit.canEnterForeignTerrain && !tile.canCivPassThrough(unit.civInfo)) return false