mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-11 18:39:43 +07:00
Fixed crash when providing free buildings (#5230)
This commit is contained in:
parent
f996103403
commit
51bfd927c1
@ -115,7 +115,7 @@ class CivConstructions() {
|
||||
// Deprecated since 3.16.15
|
||||
statUniquesData[Stat.Culture] = (statUniquesData[Stat.Culture] ?: 0) +
|
||||
civInfo.getMatchingUniques("Immediately creates the cheapest available cultural building in each of your first [] cities for free")
|
||||
.sumOf { it.params[1].toInt() }
|
||||
.sumOf { it.params[0].toInt() }
|
||||
//
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user