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