here's the HHC patch i forgot to add on last commit
This commit is contained in:
parent
868a0b5bf0
commit
64ee502239
|
@ -451,7 +451,10 @@ or None if we fail to get the info """
|
||||||
self.doc = doc
|
self.doc = doc
|
||||||
|
|
||||||
def guessMaxSeats(self, hand):
|
def guessMaxSeats(self, hand):
|
||||||
"""Return a guess at max_seats when not specified in HH."""
|
"""Return a guess at maxseats when not specified in HH."""
|
||||||
|
# if some other code prior to this has already set it, return it
|
||||||
|
if maxseats > 1 and maxseats < 11:
|
||||||
|
return maxseats
|
||||||
mo = self.maxOccSeat(hand)
|
mo = self.maxOccSeat(hand)
|
||||||
|
|
||||||
if mo == 10: return 10 #that was easy
|
if mo == 10: return 10 #that was easy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user