Merge branch 'temp'

This commit is contained in:
yairm210 2021-09-18 23:03:00 +03:00
commit 81a12920df
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig {
const val kotlinVersion = "1.5.30"
const val appName = "Unciv"
const val appCodeNumber = 626
const val appVersion = "3.16.15-patch1"
const val appCodeNumber = 627
const val appVersion = "3.16.15-patch2"
const val gdxVersion = "1.10.0"
const val roboVMVersion = "2.3.1"

View File

@ -37,6 +37,7 @@ class CityInfoConquestFunctions(val city: CityInfo){
for (building in cityConstructions.getBuiltBuildings()) {
when {
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") ->
cityConstructions.removeBuilding(building.name)
else -> {