Save to database.

This commit is contained in:
Robert Kolner committed 2012-11-23 03:54:57 +01:00
1 parent 8d97ba1e85
commit e2ad3515b6
1 file changed
+2 -2
+2 -2
View File
@@ -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);
}