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

Commit

Permalink
TYR-32 fix exit condition in yaku removal check
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Klimenko committed May 26, 2017
1 parent 943a4e3 commit 608411f
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 608411f

Please sign in to comment.