City-states no longer generate Great People

This commit is contained in:
Yair Morgenstern
2019-11-09 19:18:27 +02:00
parent 7b8d335902
commit 28b15a537a

View File

@ -390,7 +390,7 @@ class CivilizationInfo {
if (cities.isNotEmpty()) tech.nextTurn(nextTurnStats.science.toInt())
greatPeople.addGreatPersonPoints(getGreatPersonPointsForNextTurn())
if(isMajorCiv()) greatPeople.addGreatPersonPoints(getGreatPersonPointsForNextTurn()) // City-states don't get great people!
for (city in cities.toList()) { // a city can be removed while iterating (if it's being razed) so we need to iterate over a copy
city.endTurn()