Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kajongg
Commits
04af7a85
Commit
04af7a85
authored
Apr 06, 2021
by
Wolfgang Rohdewald
Browse files
clearing Player.lastTile now also clears Player.lastMeld
parent
8407f1b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/player.py
View file @
04af7a85
...
...
@@ -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"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment