mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-30 07:21:34 -04:00
AI settlers can no longer settle after movement with no movement points
This commit is contained in:
parent
6158802bb3
commit
f40c0ad8b3
@ -187,7 +187,7 @@ object SpecificUnitAutomation {
|
||||
}
|
||||
|
||||
unit.movement.headTowards(bestCityLocation)
|
||||
if (unit.getTile() == bestCityLocation)
|
||||
if (unit.getTile() == bestCityLocation && unit.movement > 0)
|
||||
foundCityAction.action.invoke()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user