Set dealt flag when reading holdem hero cards.

This commit is contained in:
Ray 2009-07-05 11:47:18 -04:00
parent c4cc6bd1aa
commit 8f2350f861

View File

@ -224,7 +224,7 @@ follow : whether to tail -f the input"""
# Also works with Omaha hands.
cards = m.group('NEWCARDS')
cards = set(cards.split(' '))
hand.addHoleCards(cards, m.group('PNAME'), shown=False, mucked=False)
hand.addHoleCards(cards, m.group('PNAME'), shown=False, mucked=False, dealt=True)
def readDrawCards(self, hand, street):
logging.debug("readDrawCards")