AI settlers can no longer settle after movement with no movement points

This commit is contained in:
Yair Morgenstern
2020-11-20 11:52:14 +02:00
parent 6158802bb3
commit f40c0ad8b3

View File

@ -187,7 +187,7 @@ object SpecificUnitAutomation {
}
unit.movement.headTowards(bestCityLocation)
if (unit.getTile() == bestCityLocation)
if (unit.getTile() == bestCityLocation && unit.movement > 0)
foundCityAction.action.invoke()
}