When small blind raises here the addRaiseBy was generating money.

One player on small blind with total $2.25, commited $2.27 to the pot.
This commit is contained in:
Gerko de Roo 2010-03-04 14:32:48 +01:00 committed by Worros
parent bdbcf19b06
commit e41c63f6ee

View File

@ -433,7 +433,7 @@ class PartyPoker(HandHistoryConverter):
if street == 'PREFLOP' and \ if street == 'PREFLOP' and \
playerName in [item[0] for item in hand.actions['BLINDSANTES'] if item[2]!='ante']: playerName in [item[0] for item in hand.actions['BLINDSANTES'] if item[2]!='ante']:
# preflop raise from blind # preflop raise from blind
hand.addRaiseBy( street, playerName, amount ) hand.addCallandRaise( street, playerName, amount )
else: else:
hand.addCallandRaise( street, playerName, amount ) hand.addCallandRaise( street, playerName, amount )
elif actionType == 'calls': elif actionType == 'calls':