summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2015-11-23 13:13:45 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 11:47:06 (GMT)
commitefbd5e75c4889bc1933f4fcbc01759876e303adc (patch)
treeb9b058a972b5d221c4717d427aaff7a1c4ca105e
parentbfce921bcbb79393951c623479272869088357b3 (diff)
Hand: small simplification
-rw-r--r--src/hand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hand.py b/src/hand.py
index 51d2370..8147023 100644
--- a/src/hand.py
+++ b/src/hand.py
@@ -151,7 +151,7 @@ class Hand(object):
self.tilesInHand = TileList(x for x in self.tiles
if x not in declaredTiles)
self.lenOffset = (len(self.tiles) - 13
- - sum(x.isKong for x in self.declaredMelds))
+ - sum(x.isKong for x in self.melds))
assert len(tileStrings) < 2, tileStrings
self.__rest = TileList()