mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
avoid duplicate bingo entries for games smaller than 5 people
This commit is contained in:
1 file changed
+1
-1
@@ -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"]
|
||||
|
||||
Reference in new issue
Block a user