mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
Resolved #11076 - Korean science boost only applies for buildings *in capital*
This commit is contained in:
parent
d49b619e9e
commit
3714600384
@ -532,7 +532,8 @@ class CityConstructions : IsPartOfGameInfoSerialization {
|
|||||||
civ.cache.updateHasActiveEnemyMovementPenalty()
|
civ.cache.updateHasActiveEnemyMovementPenalty()
|
||||||
|
|
||||||
// Korean unique - apparently gives the same as the research agreement
|
// Korean unique - apparently gives the same as the research agreement
|
||||||
if (building.isStatRelated(Stat.Science) && civ.hasUnique(UniqueType.TechBoostWhenScientificBuildingsBuiltInCapital))
|
if (building.isStatRelated(Stat.Science) && civ.hasUnique(UniqueType.TechBoostWhenScientificBuildingsBuiltInCapital)
|
||||||
|
&& city.isCapital())
|
||||||
civ.tech.addScience(civ.tech.scienceOfLast8Turns.sum() / 8)
|
civ.tech.addScience(civ.tech.scienceOfLast8Turns.sum() / 8)
|
||||||
|
|
||||||
// Happiness is global, so it could affect all cities
|
// Happiness is global, so it could affect all cities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user