Oversight in Hand.py (?)
Bp missing in this function, and doesn't run if called. No idea if the function has ever been called.
This commit is contained in:
parent
bc8f1b56b6
commit
d9656b25f6
|
@ -265,6 +265,7 @@ For sites which by "raises x" mean "calls and raises putting a total of x in the
|
||||||
Add a raise on [street] by [player] to [amountTo]
|
Add a raise on [street] by [player] to [amountTo]
|
||||||
"""
|
"""
|
||||||
self.checkPlayerExists(player)
|
self.checkPlayerExists(player)
|
||||||
|
Bp = self.lastBet[street]
|
||||||
Bc = reduce(operator.add, self.bets[street][player], 0)
|
Bc = reduce(operator.add, self.bets[street][player], 0)
|
||||||
Rt = Decimal(amountTo)
|
Rt = Decimal(amountTo)
|
||||||
C = Bp - Bc
|
C = Bp - Bc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user