diff --git a/server/matchmaker/map_pool.py b/server/matchmaker/map_pool.py index ec5362833..cb007749f 100644 --- a/server/matchmaker/map_pool.py +++ b/server/matchmaker/map_pool.py @@ -52,7 +52,7 @@ def choose_map(self, played_map_ids: Iterable[int] = (), vetoesMap=None, max_tok least_common = least_common[:i] break - least_common_ids = {id_ for id_, _ in least_common} + least_common_ids = {id_ for id_, _ in least_common} # Multiply weight by 2 if map is least common and not vetoed by anyone mapList = list((map.map_pool_map_version_id, map, 2 if (map.id in least_common_ids) and (vetoesMap.get(map.map_pool_map_version_id, 0) == 0) else 1) for id, map in self.maps.items())