mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-05 08:28:16 +07:00
Fixed crash when nuking Barbarian units
This commit is contained in:
parent
95423c125d
commit
1f59a4ea48
@ -14,7 +14,6 @@ Selected unit stays selected when single-tap moved into a tile with another unit
|
||||
By 9kgsofrice:
|
||||
|
||||
- resources can be added by tile improvement with unique "Provides [] []"
|
||||
- wonder text will not be displayed & "[] enabled:" will not show if nothing visible in list
|
||||
- Specialists can add happiness
|
||||
- "Should not be displayed without []" unique for constructions accomodates resources and buildings
|
||||
|
||||
|
@ -388,8 +388,8 @@ object Battle {
|
||||
|
||||
fun declareWar(civSuffered: CivilizationInfo) {
|
||||
if (civSuffered != attackingCiv
|
||||
&& attackingCiv.knows(attackingCiv)
|
||||
&& attackingCiv.getDiplomacyManager(civSuffered).canDeclareWar()) {
|
||||
&& civSuffered.knows(attackingCiv)
|
||||
&& civSuffered.getDiplomacyManager(attackingCiv).canDeclareWar()) {
|
||||
civSuffered.getDiplomacyManager(attackingCiv).declareWar()
|
||||
}
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ class GameSettings {
|
||||
var checkForDueUnits: Boolean = true
|
||||
var singleTapMove: Boolean = false
|
||||
var language: String = "English"
|
||||
var resolution: String = "900x600" // Aut-detecting resolution was a BAD IDEA since it needs to be based on DPI AND resolution.
|
||||
var resolution: String = "900x600" // Auto-detecting resolution was a BAD IDEA since it needs to be based on DPI AND resolution.
|
||||
var tutorialsShown = HashSet<String>()
|
||||
var tutorialTasksCompleted = HashSet<String>()
|
||||
var hasCrashedRecently = false
|
||||
|
Loading…
Reference in New Issue
Block a user