Skip to content

Commit

Permalink
fix: invalid yakuman
Browse files Browse the repository at this point in the history
  • Loading branch information
skeep194 committed Sep 9, 2024
1 parent ca190a0 commit 8377aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/InformationInputScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const InformationInputScreen = ({
false,
);
const calc = result.calc();
if (calc.error || calc.han == 0) {
if (calc.error || (calc.han == 0 && calc.yakuman == 0)) {
navigation.navigate('ResultFail');
} else {
navigation.navigate('Result', calc);
Expand Down

0 comments on commit 8377aa6

Please sign in to comment.