Changed the order of how draw cards are stored in HP so cards dealt to hero on Draws 1-3 (the open field of the holecards dictionary are placed after the cards held from previous streets (the closed field of the holecards dictionary)

This commit is contained in:
Chaz Littlejohn 2011-04-01 02:08:20 +00:00
parent 54f05e4866
commit 148777bebd

View File

@ -1245,7 +1245,7 @@ class DrawHand(Hand):
for i, street in enumerate(self.holeStreets):
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)):
idx = c + (i*5)
holecards[idx] = allhole[c]