mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 22:59:12 +07:00
A renamed unit shows that new name in can promote notifications (#9043)
This commit is contained in:
parent
837833e450
commit
dc4e78f073
@ -559,7 +559,7 @@ object Battle {
|
||||
}
|
||||
|
||||
if (!thisCombatant.isDefeated() && thisCombatant.unit.promotions.canBePromoted())
|
||||
thisCombatant.getCivInfo().addNotification("[${thisCombatant.unit.name}] can be promoted!",thisCombatant.getTile().position, NotificationCategory.Units, thisCombatant.unit.name)
|
||||
thisCombatant.getCivInfo().addNotification("[${thisCombatant.unit.displayName()}] can be promoted!",thisCombatant.getTile().position, NotificationCategory.Units, thisCombatant.unit.name)
|
||||
}
|
||||
|
||||
private fun conquerCity(city: City, attacker: MapUnitCombatant) {
|
||||
|
Loading…
Reference in New Issue
Block a user