Commit efbd5e75 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald

Hand: small simplification

parent bfce921b
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment