diff options
Diffstat (limited to 'js/mapspecs.js')
-rw-r--r-- | js/mapspecs.js | 6 |
1 files changed, 2 insertions, 4 deletions
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]+"!";
|