* updated _addRaise() so that it does in fact accept the action variable

This commit is contained in:
Chaz 2010-09-28 17:33:15 -04:00
parent ae6a035834
commit 76b2dec2b6

View File

@ -472,7 +472,7 @@ Add a raise on [street] by [player] to [amountTo]
log.debug(_("%s %s raise %s") %(street, player, Rt))
self.bets[street][player].append(C + Rb)
self.stacks[player] -= (C + Rb)
act = (player, 'raises', Rb, Rt, C, self.stacks[player]==0)
act = (player, action, Rb, Rt, C, self.stacks[player]==0)
self.actions[street].append(act)
self.lastBet[street] = Rt # TODO check this is correct
self.pot.addMoney(player, C+Rb)