mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 10:26:05 +07:00
Animations now show escort units (#11954)
This commit is contained in:
parent
a2574c2831
commit
6a8718746d
@ -322,6 +322,9 @@ class WorldMapHolder(
|
||||
worldScreen.shouldUpdate = true
|
||||
|
||||
animateMovement(previousTile, selectedUnit, tileToMoveTo, pathToTile)
|
||||
if (selectedUnit.isEscorting()) {
|
||||
animateMovement(previousTile, selectedUnit.getOtherEscortUnit()!!, tileToMoveTo, pathToTile)
|
||||
}
|
||||
|
||||
if (selectedUnits.size > 1) { // We have more tiles to move
|
||||
moveUnitToTargetTile(selectedUnits.subList(1, selectedUnits.size), targetTile)
|
||||
|
Loading…
Reference in New Issue
Block a user