This commit is contained in:
HadeanLake 2020-08-17 14:46:38 +03:00 committed by GitHub
parent 41615909df
commit 44744fd17b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,7 @@ object Battle {
val city = tile.getCity()
if (city != null && city.location == tile.position) {
city.health = 1
if (city.population.population <= 5 && city.isOriginalCapital) {
if (city.population.population <= 5 && !city.isOriginalCapital) {
city.destroyCity()
} else {
city.population.population = max(city.population.population-5, 1)