mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 05:09:25 +07:00
Buying techs now enables their uniques immediately - kudos ingvart!
This commit is contained in:
@ -31,7 +31,8 @@ class GameStarter{
|
||||
for (nationName in GameBasics.Nations.keys.filterNot { it=="Barbarians" || it==newGameParameters.nation }.shuffled()
|
||||
.take(newGameParameters.numberOfEnemies)) {
|
||||
val civ = CivilizationInfo(nationName)
|
||||
civ.tech.techsResearched.addAll(gameInfo.getDifficulty().aiFreeTechs)
|
||||
for (tech in gameInfo.getDifficulty().aiFreeTechs)
|
||||
civ.tech.addTechnology(tech)
|
||||
gameInfo.civilizations.add(civ)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user