avoid duplicate bingo entries for games smaller than 5 people

This commit is contained in:
leander committed 2026-10-29 22:34:57 +01:00
1 parent fa863b12c2
commit 86b63169ac
1 file changed
+1 -1
+1 -1
View File
@@ -97,7 +97,7 @@ class BingoGenerator:
async def sample_cells(cls, players: list[str], bot: commands.Bot) -> dict[str, list[str]]:
assert 0 < len(players) <= 10
default_space = cls.CELLS["all"]
default_space = list(cls.CELLS["all"])
if len(players) < 5:
default_space += cls.CELLS["randoms"]