From 148777bebdf6fe96d2145eff8153304190f39a3b Mon Sep 17 00:00:00 2001 From: Chaz Littlejohn Date: Fri, 1 Apr 2011 02:08:20 +0000 Subject: [PATCH] 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) --- pyfpdb/Hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index f51c4074..6dd09ba4 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -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]