From 1399d45c68e7d14fc1f3e8f2b5451669cce4ffa4 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 29 Nov 2012 15:00:11 -0800 Subject: Lots of fixes and changes. nofollow on login links. tutorial fix changed how $accepted works changed how $wallColor/Emblem works fixed a bug when multiple players scored at the same momment. --- js/mapspecs.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'js') diff --git a/js/mapspecs.js b/js/mapspecs.js index 87de7de..5299b60 100644 --- a/js/mapspecs.js +++ b/js/mapspecs.js @@ -302,7 +302,8 @@ function request_path_done() { //Mark off challenges - if(isChallenge) + //TODO: Temporarly disabled because it breaks the tutorial; + if(isChallenge && 2 == 4) { for(var i = 0; i < JO.completedChallenges.length; i++) { @@ -509,8 +510,6 @@ function doanimate(x, y, p, c, mapid, pathNumber) { handle.pressed = true; } else { if (contains(mapdata[mapid].usedTiles, eid)) { - console.log("executed on", eid, c); - console.log("true:", contains(mapdata[mapid].usedTiles, eid)); handle.style.backgroundColor = '#dddddd'; setTimeout("document.getElementById('"+eid+"').style.backgroundColor = '#dddddd';", 865); handle.pressed = true; @@ -563,7 +562,6 @@ function doanimate(x, y, p, c, mapid, pathNumber) { //Switch for range result. var disptext = "" var improvedScore = (count[mapid] > mapjson[mapid].mybest && mapjson[mapid].mybest != "0"); - console.log(mapjson[mapid].mybest,mapjson[mapid].mybest == 0 ) switch (true) { case (count[mapid] > mapjson[mapid].best): disptext = "Beat "+mapjson[mapid].bestby+"'s record of "+mapjson[mapid].best+" with "+count[mapid]+"!"; -- cgit v1.2.3