mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-11 18:39:43 +07:00
Merge branch 'temp'
This commit is contained in:
commit
81a12920df
@ -3,8 +3,8 @@ package com.unciv.build
|
|||||||
object BuildConfig {
|
object BuildConfig {
|
||||||
const val kotlinVersion = "1.5.30"
|
const val kotlinVersion = "1.5.30"
|
||||||
const val appName = "Unciv"
|
const val appName = "Unciv"
|
||||||
const val appCodeNumber = 626
|
const val appCodeNumber = 627
|
||||||
const val appVersion = "3.16.15-patch1"
|
const val appVersion = "3.16.15-patch2"
|
||||||
|
|
||||||
const val gdxVersion = "1.10.0"
|
const val gdxVersion = "1.10.0"
|
||||||
const val roboVMVersion = "2.3.1"
|
const val roboVMVersion = "2.3.1"
|
||||||
|
@ -37,6 +37,7 @@ class CityInfoConquestFunctions(val city: CityInfo){
|
|||||||
for (building in cityConstructions.getBuiltBuildings()) {
|
for (building in cityConstructions.getBuiltBuildings()) {
|
||||||
when {
|
when {
|
||||||
building.hasUnique("Never destroyed when the city is captured") || building.isWonder -> continue
|
building.hasUnique("Never destroyed when the city is captured") || building.isWonder -> continue
|
||||||
|
building.hasUnique("Indicates the capital city") -> continue // Palace needs to stay a just a bit longer so moveToCiv isn't confused
|
||||||
building.hasUnique("Destroyed when the city is captured") ->
|
building.hasUnique("Destroyed when the city is captured") ->
|
||||||
cityConstructions.removeBuilding(building.name)
|
cityConstructions.removeBuilding(building.name)
|
||||||
else -> {
|
else -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user