mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 22:59:12 +07:00
Changes check to remove national wonders on city ownership changes to rely on building.isNationalWonder (#3386)
This commit is contained in:
parent
0feb9bdefc
commit
0e39d47dab
@ -537,7 +537,7 @@ class CityInfo {
|
||||
.forEach { workedTiles = workedTiles.withoutItem(it); population.autoAssignPopulation() }
|
||||
|
||||
// Remove all national wonders
|
||||
for(building in cityConstructions.getBuiltBuildings().filter { it.requiredBuildingInAllCities!=null })
|
||||
for(building in cityConstructions.getBuiltBuildings().filter { it.isNationalWonder })
|
||||
cityConstructions.removeBuilding(building.name)
|
||||
|
||||
// Remove/relocate palace for old Civ
|
||||
|
Loading…
Reference in New Issue
Block a user