Unresearchable techs not added when starting in advanced era

This commit is contained in:
yairm210 2024-11-02 18:51:05 +02:00
parent 194161b723
commit 28c65f2684

View File

@ -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)
}