mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 22:37:02 -04: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
|
// Deprecated since 3.16.15
|
||||||
statUniquesData[Stat.Culture] = (statUniquesData[Stat.Culture] ?: 0) +
|
statUniquesData[Stat.Culture] = (statUniquesData[Stat.Culture] ?: 0) +
|
||||||
civInfo.getMatchingUniques("Immediately creates the cheapest available cultural building in each of your first [] cities for free")
|
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…
x
Reference in New Issue
Block a user