Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from MahjongPantheon/TYR-32-fix-yaku-removal-c…
Browse files Browse the repository at this point in the history
…hecks

TYR-32 fix exit condition in yaku removal check
  • Loading branch information
Oleg Klimenko authored May 26, 2017
2 parents 943a4e3 + 608411f commit 267417d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/primitives/appstate/yaku.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ function _removeYakuFromProps(outcome: AppOutcome, id: YakuId, props: WinProps,
if (-1 === props.possibleFu.indexOf(props.fu)) {
props.fu = props.possibleFu[0];
}

return true;
}

export function removeYaku(outcome: AppOutcome, id: YakuId, mrWinner: number): void {
Expand Down

0 comments on commit 267417d

Please sign in to comment.