mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
Update TechManager.kt (#7912)
This commit is contained in:
parent
34c22009e6
commit
08ba5736d0
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user