Fixed a bug where great prophets gained through non-conventional means did not receive bonus spreads provided by wonders (#5558)

* Fixed a bug where great prophets gained through non-conventional means did not receive bonus spreads provided by wonders

* Fixed overextended indentation
This commit is contained in:
Xander Lenstra
2021-10-25 22:56:48 +02:00
committed by GitHub
parent 5d9c1266d7
commit cbfbec166b
2 changed files with 2 additions and 2 deletions

View File

@ -1019,7 +1019,7 @@ class CivilizationInfo {
city != null -> city.cityConstructions.cityInfo.religion.getMajorityReligionName()
else -> religionManager.religion?.name
}
placedUnit.setupAbilityUses()
placedUnit.setupAbilityUses(cityToAddTo)
}
for (unique in getMatchingUniques("Land units may cross [] tiles after the first [] is earned")) {