mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-22 21:44:37 +07:00
Unresearchable techs not added when starting in advanced era
This commit is contained in:
parent
194161b723
commit
28c65f2684
@ -195,6 +195,7 @@ object GameStarter {
|
||||
val startingEraNumber = ruleset.eras[gameSetupInfo.gameParameters.startingEra]!!.eraNumber
|
||||
for (tech in ruleset.technologies.values) {
|
||||
if (ruleset.eras[tech.era()]!!.eraNumber >= startingEraNumber) continue
|
||||
if (civInfo.tech.isUnresearchable(tech)) continue
|
||||
civInfo.addTechSilently(tech.name)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user