Make WriteHand for holdem report mucked cards.

This commit is contained in:
Ray 2009-07-04 15:28:20 -04:00
parent a35b1a8b3c
commit c4cc6bd1aa

View File

@ -772,6 +772,8 @@ dealt whether they were seen in a 'dealt to' line
else:
if name in self.shown:
print >>fh, ("Seat %d: %s showed [%s] and lost with..." % (seatnum, name, " ".join(self.holecards['PREFLOP'][name])))
elif name in self.mucked:
print >>fh, ("Seat %d: %s mucked [%s] " % (seatnum, name, " ".join(self.holecards['PREFLOP'][name])))
else:
print >>fh, ("Seat %d: %s mucked" % (seatnum, name))