Skip to content

Commit

Permalink
[NEWIMPORT] Fix sawShowdown stat
Browse files Browse the repository at this point in the history
  • Loading branch information
Worros authored and kangaderoo committed Dec 23, 2009
1 parent 1d53e32 commit 68b4ebd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyfpdb/DerivedStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,9 @@ def playersAtStreetX(self, hand):
pas = set.union(self.pfba(actions) - self.pfba(actions, l=('folds',)), alliners)
self.hands['playersAtShowdown'] = len(pas)

for player in pas:
self.handsplayers[player]['sawShowdown'] = True
if self.hands['playersAtShowdown'] > 1:
for player in pas:
self.handsplayers[player]['sawShowdown'] = True

def streetXRaises(self, hand):
# self.actions[street] is a list of all actions in a tuple, contining the action as the second element
Expand Down

0 comments on commit 68b4ebd

Please sign in to comment.