Skip to content

Commit

Permalink
fixed missing closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Areso committed Sep 21, 2020
1 parent da58838 commit a41a437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ <h2>How to play</h2>
}
}
//ISSUE #339
game.checkObjAccessibility();
//game.checkObjAccessibility();
game.mapCreated = 1;
composite_gm();
}
Expand All @@ -1944,7 +1944,7 @@ <h2>How to play</h2>
//first we check whether myMapObjects has something
//then add AND condition
//that myMapObjects is NOT in the list of nonVisitableElements
if (game.myMapObjects[i][j] !== 0 && !(inArray(nonVisitableElements, game.myMapObjects[i][j])) {
if (game.myMapObjects[i][j] !== 0 && !(inArray(nonVisitableElements, game.myMapObjects[i][j]))) {
console.log("myMapObjects");
}
}
Expand Down

0 comments on commit a41a437

Please sign in to comment.