Skip to content

Commit

Permalink
Исправил название переменной в 110 строке
Browse files Browse the repository at this point in the history
  • Loading branch information
jeckvorobey committed Dec 3, 2018
1 parent 7c5ce17 commit 1e1e177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions game/gameCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ switch (event) {
}
alert('Спасибо за игру');

var history = prompt('введите номер вопроса');
var ans = prompt('введите номер вопроса');

if (history < 1 || history > 4) {
if (ans < 1 || ans > 4) {
alert('вопроса под таким номером небыло')
} else {
switch (history) {
switch (ans) {
case 1:
if (answer[0] == 1) {
alert(works.a00 + works.a1);
Expand Down

0 comments on commit 1e1e177

Please sign in to comment.