Uncalled bet needs to be subtracted from the collectees.

the self.collectees is used in the derived stats.
The uncalled part of the bet was added to the players profit.
This commit is contained in:
Gerko de Roo 2010-03-02 21:44:07 +01:00
parent 7bf5bc5938
commit 4c37877c7f

View File

@ -260,6 +260,7 @@ class PartyPoker(HandHistoryConverter):
for i,v in enumerate(self.collected):
if v[0] in self.pot.returned:
self.collected[i][1] = Decimal(v[1]) - self.pot.returned[v[0]]
self.collectees[v[0]] -= self.pot.returned[v[0]]
return origTotalPot()
return totalPot
instancemethod = type(hand.totalPot)