Skip to content

Commit

Permalink
fix a parse_kan bug
Browse files Browse the repository at this point in the history
  • Loading branch information
747929791 committed Jun 9, 2020
1 parent ad9ac7b commit 36b50b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/tenhou_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def parse_kan(data, meld):
called = base_and_called % 4
meld.called_tile = meld.tiles[called]
# to mark closed\opened kans
meld.open = meld.by_whom != meld.from_whom
meld.open = meld.from_whom != 0

@staticmethod
@LogTrace
Expand Down

0 comments on commit 36b50b9

Please sign in to comment.