mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-01 02:14:51 +07:00
Fixed Great Improvement bonus not working (#4193)
This commit is contained in:
parent
9eb2d1fffb
commit
3686366156
@ -318,8 +318,8 @@ open class TileInfo {
|
||||
}
|
||||
|
||||
for (unique in observingCiv.getMatchingUniques("+[]% yield from every []"))
|
||||
if (improvement.matchesFilter(unique.params[0]))
|
||||
stats.timesInPlace(1f + unique.params[1].toFloat() / 100f)
|
||||
if (improvement.matchesFilter(unique.params[1]))
|
||||
stats.timesInPlace(1f + unique.params[0].toFloat() / 100f)
|
||||
|
||||
// Deprecated since 3.15
|
||||
if (containsGreatImprovement() && observingCiv.hasUnique("Tile yield from Great Improvements +100%"))
|
||||
|
Loading…
Reference in New Issue
Block a user