mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-19 20:28: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" ->
|
||||
civInfo.goldenAges.enterGoldenAge()
|
||||
"Free Great Person" -> {
|
||||
if (civInfo.isSpectator()) return
|
||||
if (civInfo.isPlayerCivilization()) civInfo.greatPeople.freeGreatPeople++
|
||||
else {
|
||||
val greatPeople = civInfo.getGreatPeople()
|
||||
|
Reference in New Issue
Block a user