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:
Worros 2009-02-20 01:37:48 +09:00
parent bc8f1b56b6
commit d9656b25f6

View File

@ -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]
"""
self.checkPlayerExists(player)
Bp = self.lastBet[street]
Bc = reduce(operator.add, self.bets[street][player], 0)
Rt = Decimal(amountTo)
C = Bp - Bc