mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-05 15:59:50 +07:00
You now recieve notifications when units disband
This commit is contained in:
@ -193,6 +193,7 @@ class CivilizationInfo {
|
|||||||
val unitToDisband = civMilitaryUnits.first()
|
val unitToDisband = civMilitaryUnits.first()
|
||||||
unitToDisband.removeFromTile()
|
unitToDisband.removeFromTile()
|
||||||
civMilitaryUnits -= unitToDisband
|
civMilitaryUnits -= unitToDisband
|
||||||
|
addNotification("Cannot provide unit upkeep for "+unitToDisband.name+" - unit has been disbanded!".tr(),null, Color.RED)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user