Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz

This commit is contained in:
Worros 2011-04-01 10:09:13 +08:00
commit d8baef3072

View File

@ -1245,7 +1245,7 @@ class DrawHand(Hand):
for i, street in enumerate(self.holeStreets): for i, street in enumerate(self.holeStreets):
if player in self.holecards[street].keys(): if player in self.holecards[street].keys():
allhole = self.holecards[street][player][0] + self.holecards[street][player][1] allhole = self.holecards[street][player][1] + self.holecards[street][player][0]
for c in range(len(allhole)): for c in range(len(allhole)):
idx = c + (i*5) idx = c + (i*5)
holecards[idx] = allhole[c] holecards[idx] = allhole[c]