mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 22:00:24 +07:00
Defensive pact notification fix (#10025)
* Fixed Civ getting two notifications of canceling their defensive pact when attacking. * Added Defensive Pact related warnings to the Declare War popup * Improved the warning to not include Civs that are already at war with the aggressor * Improved the warning to not include Civs that are already at war with the aggressor * Added defensive pact related warning translations * Refactored removeDefensivePacts * DeclareWarButton text now uses arrayListOf<String> and changed the for loop to a while loop * Extracted the DeclareWarButton text to a new method.
This commit is contained in:
@ -119,6 +119,9 @@ Peace =
|
||||
Research Agreement =
|
||||
Declare war =
|
||||
Declare war on [civName]? =
|
||||
[civName] will also join them in the war =
|
||||
An unknown civilization will also join them in the war =
|
||||
This will cancel your defensive pact with [civName] =
|
||||
Go to on map =
|
||||
Let's begin! =
|
||||
[civName] has declared war on us! =
|
||||
|
Reference in New Issue
Block a user