Save to database.
This commit is contained in:
1 parent
8d97ba1e85
commit
e2ad3515b6
1 file changed
+2
-2
@@ -341,7 +341,7 @@ function startAI() {
|
||||
if (!game.gameIsOver) {
|
||||
window.setTimeout(startAI, 10);
|
||||
} else {
|
||||
/*$.post(
|
||||
$.post(
|
||||
"http://paalbra.at.neuf.no/tetris/highscore.php",
|
||||
{ score : game.stats.countLinesCleared, name : 'robertko_' + version},
|
||||
function(data) {
|
||||
@@ -349,7 +349,7 @@ function startAI() {
|
||||
}
|
||||
).error(function(data) {
|
||||
console.warn(data);
|
||||
});*/
|
||||
});
|
||||
|
||||
window.setTimeout("location.reload()", 3000);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user