mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 23:40:01 +07:00
Fixed swapping a unit with a unit that is escorting (#11268)
This commit is contained in:
@ -523,7 +523,7 @@ class UnitMovement(val unit: MapUnit) {
|
||||
else
|
||||
destination.militaryUnit
|
||||
)?: return // The precondition guarantees that there is an eligible same-type unit at the destination
|
||||
|
||||
otherUnit.stopEscorting()
|
||||
val ourOldPosition = unit.getTile()
|
||||
val theirOldPosition = otherUnit.getTile()
|
||||
|
||||
|
Reference in New Issue
Block a user