mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
When capturing Civilian, stop current action (#6542)
* On captureCivilianUnit, stop current action * Remove excess import Co-authored-by: itanasi <spellman23@gmail.com>
This commit is contained in:
parent
94e8264d36
commit
0e8a22a1e8
@ -522,6 +522,8 @@ object Battle {
|
||||
val defenderCiv = defender.getCivInfo()
|
||||
|
||||
val capturedUnit = defender.unit
|
||||
// Stop current action
|
||||
capturedUnit.action = null
|
||||
|
||||
val capturedUnitTile = capturedUnit.getTile()
|
||||
val originalOwner = if (capturedUnit.originalOwner != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user