Skip to content

Commit

Permalink
добавил код
Browse files Browse the repository at this point in the history
  • Loading branch information
jeckvorobey committed Dec 3, 2018
1 parent 3841074 commit b17a68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/gameCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ if (ans < 1 || ans > 4) {
}
break;
case 3:
if (answer[2] == 1) {
if (answer[1] == 1 || answer[2] == 1) {
alert(works.c00 + works.c1);
} else {
alert(works.c00 + works.c2);
Expand Down

0 comments on commit b17a68d

Please sign in to comment.