diff --git a/core/src/com/unciv/logic/map/mapunit/MapUnit.kt b/core/src/com/unciv/logic/map/mapunit/MapUnit.kt index dbf8d6dbce..7ff9a4b02a 100644 --- a/core/src/com/unciv/logic/map/mapunit/MapUnit.kt +++ b/core/src/com/unciv/logic/map/mapunit/MapUnit.kt @@ -588,7 +588,7 @@ class MapUnit : IsPartOfGameInfoSerialization { else -> { if (baseUnit.matchesFilter(filter, cache.state, false)) return true if (civ.matchesFilter(filter, cache.state, false)) return true - if (nonUnitUniquesMap.hasUnique(filter, cache.state)) + if (nonUnitUniquesMap.hasUnique(filter, cache.state)) return true if (promotions.promotions.contains(filter)) return true // Badly optimized, but it's rare that statuses is even non-empty // Statuses really should be converted to a hashmap