This commit is contained in:
lengstrom 2014-08-19 23:40:43 -04:00
parent 29f159c59a
commit ff58e59e44

View file

@ -305,6 +305,7 @@ function isInfringing(hex) {
function checkGameOver() {
for (var i = 0; i < MainHex.sides; i++) {
if (isInfringing(MainHex)) {
$.get('http://54.183.184.126/' + String(score))
if (highscores.indexOf(score) == -1) {
highscores.push(score);
}