Whoops a movement change got in when it shouldn't have

This commit is contained in:
Yair Morgenstern
2023-04-17 13:50:44 +03:00
parent 844b0a15d1
commit 0eda518bf9

View File

@ -653,7 +653,7 @@ class WorldMapHolder(
if (unit.movement.canMoveTo(tile) ||
unit.movement.isUnknownTileWeShouldAssumeToBePassable(tile) && !unit.baseUnit.movesLikeAirUnits()) {
val alpha = if (UncivGame.Current.settings.singleTapMove || isAirUnit) 0.7f else 0.3f
group.layerMisc.overlayTerrain(moveTileOverlayColor)
group.layerOverlay.showHighlight(moveTileOverlayColor, alpha)
}
}