mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 15:59:33 +07:00
Resolved #11345 - Hide battle table after attack if we can move, but not attack again
This commit is contained in:
@ -306,6 +306,7 @@ class BattleTable(val worldScreen: WorldScreen) : Table() {
|
||||
val (damageToDefender, damageToAttacker) = Battle.attackOrNuke(attacker, attackableTile)
|
||||
|
||||
worldScreen.battleAnimation(attacker, damageToAttacker, defender, damageToDefender)
|
||||
if (!attacker.canAttack()) hide()
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user