Work boats can't "create improvement" on tiles that already have an improvement

This commit is contained in:
Yair Morgenstern 2018-12-18 18:58:07 +02:00
parent 6bdd0da3ea
commit b054a3ff4a

View File

@ -134,6 +134,7 @@ class UnitActions {
for(improvement in listOf("Fishing Boats","Oil well")) {
if (unit.hasUnique("May create improvements on water resources") && tile.resource != null
&& tile.improvement==null
&& tile.getTileResource().improvement == improvement
&& unit.civInfo.tech.isResearched(GameBasics.TileImprovements[improvement]!!.techRequired!!)
)