mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Added notification when enemy declares war on us
This commit is contained in:
parent
e6bc3a1ab7
commit
186feab0c6
@ -2612,6 +2612,8 @@
|
||||
|
||||
"Declare war":{}
|
||||
|
||||
"[civName] has declared war on us!":{}
|
||||
|
||||
// Overview screen
|
||||
"Overview":{
|
||||
Italian:"Panoramica"
|
||||
|
@ -83,6 +83,7 @@ class DiplomacyManager() {
|
||||
fun declareWar(){
|
||||
diplomaticStatus = DiplomaticStatus.War
|
||||
otherCiv().diplomacy[civInfo.civName]!!.diplomaticStatus = DiplomaticStatus.War
|
||||
otherCiv().addNotification("[civName] has declared war on us!",null, Color.RED)
|
||||
}
|
||||
|
||||
fun turnsToPeaceTreaty(): Int {
|
||||
|
Loading…
x
Reference in New Issue
Block a user