diff --git a/core/src/com/unciv/logic/civilization/TechManager.kt b/core/src/com/unciv/logic/civilization/TechManager.kt index 5693b05774..da2cc5cb0e 100644 --- a/core/src/com/unciv/logic/civilization/TechManager.kt +++ b/core/src/com/unciv/logic/civilization/TechManager.kt @@ -332,7 +332,7 @@ class TechManager : IsPartOfGameInfoSerialization { for (policyBranch in getRuleset().policyBranches.values.filter { it.era == currentEra.name && civInfo.policies.isAdoptable(it) }) { civInfo.addNotification("[" + policyBranch.name + "] policy branch unlocked!", NotificationIcon.Culture) } - // Note that if you somehow skip over an era, its uniques aren't triggered + val erasPassed = getRuleset().eras.values .filter { it.eraNumber > previousEra.eraNumber && it.eraNumber <= currentEra.eraNumber } .sortedBy { it.eraNumber }