TOURNEY: fix recording of Hands.tourneyId, allow it to be NULL

This commit is contained in:
steffen123
2010-07-15 02:08:59 +02:00
parent 18dc3f29ff
commit d65b6e55c8
3 changed files with 6 additions and 5 deletions
+1
View File
@@ -103,6 +103,7 @@ class DerivedStats():
self.hands['seats'] = self.countPlayers(hand)
self.hands['maxSeats'] = hand.maxseats
self.hands['texture'] = None # No calculation done for this yet.
self.hands['tourneyId'] = hand.tourneyId
# This (i think...) is correct for both stud and flop games, as hand.board['street'] disappears, and
# those values remain default in stud.