Camps are now buildable in forests without removing the forests (Thanks Noam!)

This commit is contained in:
Yair Morgenstern 2018-07-10 09:04:45 +03:00
parent 1b5f2a2e00
commit 35b66316bc

View file

@ -139,7 +139,7 @@ open class TileInfo {
if (improvement.terrainsCanBeBuiltOn.contains(topTerrain!!.name)) return true
if (improvement.name == "Road" && this.roadStatus === RoadStatus.None) return true
if (improvement.name == "Railroad" && this.roadStatus !== RoadStatus.Railroad) return true
if (topTerrain.unbuildable) return false
if (topTerrain.unbuildable && !(topTerrain.name=="Forest" && improvement.name=="Camp")) return false
return hasViewableResource(civInfo) && tileResource.improvement == improvement.name
}