diff --git a/core/src/com/unciv/logic/city/CityConstructions.kt b/core/src/com/unciv/logic/city/CityConstructions.kt index c0ddf85934781..d9a584096fbdb 100644 --- a/core/src/com/unciv/logic/city/CityConstructions.kt +++ b/core/src/com/unciv/logic/city/CityConstructions.kt @@ -294,7 +294,7 @@ class CityConstructions : IsPartOfGameInfoSerialization { } fun cheapestStatBuilding(stat: Stat): Building? { - return city.getRuleset().buildings.values + return city.getRuleset().buildings.values.asSequence() .filter { !it.isAnyWonder() && it.isStatRelated(stat, city) && (it.isBuildable(this) || isBeingConstructedOrEnqueued(it.name)) } .minByOrNull { it.cost }