Update game.py
Using set()) instead of list in self.joined_before
This commit is contained in:
parent
615bb35359
commit
0114fe774d
1 changed files with 1 additions and 1 deletions
2
game.py
2
game.py
|
@ -40,7 +40,7 @@ class Game(object):
|
|||
def __init__(self, chat):
|
||||
self.chat = chat
|
||||
self.last_card = None
|
||||
self.joined_before = [] #FIXME: Change it as set()
|
||||
self.joined_before = set() #FIXME: Change it as set()
|
||||
|
||||
while not self.last_card or self.last_card.special:
|
||||
self.deck = Deck()
|
||||
|
|
Loading…
Reference in a new issue