When purchasing a building, the buildings list (on the left) is immediately updated to reflect that
This commit is contained in:
parent
c3a00a0f5e
commit
143d4422e8
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class ConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScre
|
|||
cityConstructions.purchaseBuilding(construction.name)
|
||||
if(lastConstruction!="" && cityConstructions.getConstruction(lastConstruction).isBuildable(cityConstructions))
|
||||
city.cityConstructions.currentConstruction = lastConstruction
|
||||
update()
|
||||
cityScreen.update() // since the list of available buildings needs to be updated too, so we can "see" that the building we bought now exists in the city
|
||||
}, cityScreen)
|
||||
}
|
||||
if (buildingGoldCost > city.civInfo.gold) {
|
||||
|
|
Loading…
Reference in a new issue