Player stat fix for PartyPoker
When placing a uncalled bet (like all-in) the uncalled part is put in a sitepot Therefore the player exist 2* in collected. The uncalled part of the bet was subtracted twice for collected and collectees.
This commit is contained in:
parent
def398e0c2
commit
bdbcf19b06
|
@ -261,6 +261,7 @@ class PartyPoker(HandHistoryConverter):
|
||||||
if v[0] in self.pot.returned:
|
if v[0] in self.pot.returned:
|
||||||
self.collected[i][1] = Decimal(v[1]) - self.pot.returned[v[0]]
|
self.collected[i][1] = Decimal(v[1]) - self.pot.returned[v[0]]
|
||||||
self.collectees[v[0]] -= self.pot.returned[v[0]]
|
self.collectees[v[0]] -= self.pot.returned[v[0]]
|
||||||
|
self.pot.returned[v[0]] = 0
|
||||||
return origTotalPot()
|
return origTotalPot()
|
||||||
return totalPot
|
return totalPot
|
||||||
instancemethod = type(hand.totalPot)
|
instancemethod = type(hand.totalPot)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user