diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-04-02 14:01:30 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-04-02 14:01:30 (GMT) |
commit | 7ba7ab3527049279f0f0c112cc5d384959ebceae (patch) | |
tree | bdb3a8b4ec7b0cd4a3d9e9986302c5cec898fe8f /hand.py | |
parent | 1b30746b7551d9f85ec0708ecf89a54b3d4217a1 (diff) |
catch problem with game over infinite loop when sharing
Diffstat (limited to 'hand.py')
-rw-r--r-- | hand.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -79,7 +79,6 @@ class Hand: def restore(self, hand_as_text, deck, buddy=False): ''' Restore tiles to hand upon resume or share. ''' hand = json_load(hand_as_text) - print 'restoring hand' if buddy: offset = 1 # skip the buddy else: @@ -91,7 +90,6 @@ class Hand: else: for k in range(ROW * COL): if deck.tiles[k].number == hand[i]: - print k, '-->', tile self.hand[tile] = deck.tiles[k] self.hand[tile].spr.move(self.hand_to_xy(tile)) self.hand[tile].spr.set_layer(TILES) |