mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 13:18:56 +07:00
Resolved #3651 - "Free great person" unique is compatible with techs even for Spectator
This commit is contained in:
@ -56,6 +56,7 @@ object UniqueTriggerActivation {
|
|||||||
"Empire enters golden age" ->
|
"Empire enters golden age" ->
|
||||||
civInfo.goldenAges.enterGoldenAge()
|
civInfo.goldenAges.enterGoldenAge()
|
||||||
"Free Great Person" -> {
|
"Free Great Person" -> {
|
||||||
|
if (civInfo.isSpectator()) return
|
||||||
if (civInfo.isPlayerCivilization()) civInfo.greatPeople.freeGreatPeople++
|
if (civInfo.isPlayerCivilization()) civInfo.greatPeople.freeGreatPeople++
|
||||||
else {
|
else {
|
||||||
val greatPeople = civInfo.getGreatPeople()
|
val greatPeople = civInfo.getGreatPeople()
|
||||||
|
Reference in New Issue
Block a user