Fix : Avoid addGreatPerson exception.
This commit is contained in:
parent
2904ed04eb
commit
05657ea131
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ class CivilizationInfo {
|
|||
}
|
||||
|
||||
//if no city available, addGreatPerson will throw exception
|
||||
if (!cities.isNotEmpty()) {
|
||||
if (cities.isNotEmpty()) {
|
||||
val greatPerson = greatPeople.getNewGreatPerson()
|
||||
if (greatPerson != null) {
|
||||
addGreatPerson(greatPerson)
|
||||
|
|
Loading…
Reference in a new issue