mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-11 02:20:19 +07:00
Merge branch 'temp'
This commit is contained in:
commit
81a12920df
@ -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"
|
||||
|
@ -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 -> {
|
||||
|
Loading…
Reference in New Issue
Block a user