mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 21:03:15 -04:00
Hotfix for endless stats (#11888)
This commit is contained in:
parent
96db86cdc2
commit
0d45915df9
@ -13,8 +13,6 @@ import com.unciv.models.stats.Stats
|
||||
import com.unciv.ui.components.extensions.toPercent
|
||||
|
||||
fun List<Pair<String, Stats>>.toStats(): Stats {
|
||||
if (size == 1) return get(0).second
|
||||
|
||||
val stats = Stats()
|
||||
for ((_, statsToAdd) in this)
|
||||
stats.add(statsToAdd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user