Skip to content

Commit 571c3d6

Browse files
committed
2 parents 5df2511 + fa2e8b3 commit 571c3d6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎secondaryTester/scripts/index.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ function newGame() {
2525

2626
if (y < canvas.height / 2) {
2727
y = 19;
28-
selectedArrayPosition = 0;
28+
selectedArrayPosition = 12;
2929
} else {
3030
y = canvas.height / 2;
31-
selectedArrayPosition = 23;
31+
selectedArrayPosition = 11;
3232
}
3333
if (x > 19 && x < 345) {
3434
x = Math.floor((x - 19) / 54);
35-
if (selectedArrayPosition == 0) {
35+
if (selectedArrayPosition == 12) {
3636
selectedArrayPosition += x;
3737
}
3838
else {
@@ -43,7 +43,7 @@ function newGame() {
4343
}
4444
if (x > 375 && x < 700) {
4545
x = Math.floor((x - 375) / 54);
46-
if (selectedArrayPosition == 0) {
46+
if (selectedArrayPosition == 12) {
4747
selectedArrayPosition += (6 + x);
4848
}
4949
else {

0 commit comments

Comments
 (0)