Settlers can no longer found city when out of moves

This commit is contained in:
Yair Morgenstern 2017-12-11 22:49:37 +02:00
parent 5253474ba4
commit 0715f4b855

View File

@ -379,7 +379,8 @@ public class WorldScreen extends com.unciv.game.utils.CameraStageBaseScreen {
}
});
if(game.civInfo.tileMap.getTilesInDistance(selectedTile.position,2).any(new Predicate<TileInfo>() {
if(selectedTile.unit.currentMovement==0 ||
game.civInfo.tileMap.getTilesInDistance(selectedTile.position,2).any(new Predicate<TileInfo>() {
@Override
public boolean evaluate(TileInfo arg0) {
return arg0.isCityCenter();