mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-22 02:07:43 +07:00
Work boats can't "create improvement" on tiles that already have an improvement
This commit is contained in:
parent
6bdd0da3ea
commit
b054a3ff4a
@ -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!!)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user