Hotfix Legalism on foundation (#1747)

This commit is contained in:
Federico Luongo 2020-01-22 18:06:45 +01:00 committed by Yair Morgenstern
parent e4308f947e
commit 32e3cb2112

View file

@ -76,13 +76,14 @@ class CityInfo {
civInfo.cities = civInfo.cities.toMutableList().apply { add(this@CityInfo) }
civInfo.addNotification("[$name] has been founded!", cityLocation, Color.PURPLE)
civInfo.policies.tryAddLegalismBuildings()
if (civInfo.cities.size == 1) {
cityConstructions.addBuilding("Palace")
cityConstructions.currentConstruction = Constants.worker // Default for first city only!
}
if (civInfo.policies.isAdopted("Legalism"))
civInfo.policies.tryAddLegalismBuildings()
expansion.reset()
val tile = getCenterTile()