[NEWIMPORT] Fix sawShowdown stat

This commit is contained in:
Worros 2009-12-06 22:52:45 +08:00 committed by kangaderoo
parent 1d53e32f1e
commit 68b4ebdb57

View File

@ -231,8 +231,9 @@ class DerivedStats():
pas = set.union(self.pfba(actions) - self.pfba(actions, l=('folds',)), alliners) pas = set.union(self.pfba(actions) - self.pfba(actions, l=('folds',)), alliners)
self.hands['playersAtShowdown'] = len(pas) self.hands['playersAtShowdown'] = len(pas)
for player in pas: if self.hands['playersAtShowdown'] > 1:
self.handsplayers[player]['sawShowdown'] = True for player in pas:
self.handsplayers[player]['sawShowdown'] = True
def streetXRaises(self, hand): def streetXRaises(self, hand):
# self.actions[street] is a list of all actions in a tuple, contining the action as the second element # self.actions[street] is a list of all actions in a tuple, contining the action as the second element