mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 07:16:54 +07:00
Fixed bug - credit to @SomeTroglodyte
This commit is contained in:
parent
dfd8d5cbc9
commit
34dce70142
@ -367,7 +367,7 @@ class WorkerAutomation(
|
||||
|
||||
val isResourceTileWithoutResourceProvider = !tile.containsGreatImprovement()
|
||||
&& tile.hasViewableResource(civInfo)
|
||||
&& !tile.tileResource.isImprovedBy(tile.improvement!!)
|
||||
&& (tile.improvement == null || !tile.tileResource.isImprovedBy(tile.improvement!!))
|
||||
|
||||
if (anyImprovementIsOk || isResourceTileWithoutResourceProvider) {
|
||||
val chosenImprovement = chooseImprovement(unit, tile)
|
||||
|
Loading…
Reference in New Issue
Block a user