* updated _addRaise() so that it does in fact accept the action variable
This commit is contained in:
parent
ae6a035834
commit
76b2dec2b6
|
@ -472,7 +472,7 @@ Add a raise on [street] by [player] to [amountTo]
|
||||||
log.debug(_("%s %s raise %s") %(street, player, Rt))
|
log.debug(_("%s %s raise %s") %(street, player, Rt))
|
||||||
self.bets[street][player].append(C + Rb)
|
self.bets[street][player].append(C + Rb)
|
||||||
self.stacks[player] -= (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.actions[street].append(act)
|
||||||
self.lastBet[street] = Rt # TODO check this is correct
|
self.lastBet[street] = Rt # TODO check this is correct
|
||||||
self.pot.addMoney(player, C+Rb)
|
self.pot.addMoney(player, C+Rb)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user