[NEWIMPORT] Fix sawShowdown stat

This commit is contained in:
Worros 2009-12-06 22:52:45 +08:00
parent 61840e73c6
commit 4d38488f26

View File

@ -231,6 +231,7 @@ 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)
if self.hands['playersAtShowdown'] > 1:
for player in pas: for player in pas:
self.handsplayers[player]['sawShowdown'] = True self.handsplayers[player]['sawShowdown'] = True