mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-20 19:56:51 +01:00
Merge pull request #401 from ninjatao/autobuild_road
Idle worker try to connect cities with roads.
This commit is contained in:
commit
c538abd9fd
|
|
@ -38,6 +38,7 @@ class WorkerAutomation(val unit: MapUnit) {
|
|||
}
|
||||
}
|
||||
if(tile.improvementInProgress!=null) return // we're working!
|
||||
if(tryConnectingCities()) return //nothing to do, try again to connect cities
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user