Commit 04af7a85 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

clearing Player.lastTile now also clears Player.lastMeld

parent 8407f1b2
......@@ -217,6 +217,8 @@ class Player(StrMixin):
"""temp for debugging"""
assert isinstance(value, (Tile, type(None))), value
self.__lastTile = value
if value is None:
self.lastMeld = Meld()
def invalidateHand(self):
"""some source for the computation of current hand changed"""
......
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