Unciv/core
Oskar Niesen eec3732c96
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.
2023-09-05 19:01:45 +03:00
..
src/com/unciv Defensive pact notification fix (#10025) 2023-09-05 19:01:45 +03:00
build.gradle.kts Fixed a couple warnings reported by code analysis (#9364) 2023-05-10 11:43:53 +03:00