diff options
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -244,7 +244,13 @@ if ($_GET['r'] == 'getpath') { $_SESSION['preCompletedTutorial'] = true;
$_SESSION['preCompletedTutorialNotified'] = false;
}
- if ($accepted == false) die(json_encode($json));
+ if ($accepted == false) {
+ if ($debug == true) {
+ echo json_encode($json);
+ }
+ exit;
+ }
+ //if ($accepted == false) die(json_encode($json));
//TODO: Where's $paths coming from?
getCompletedChallenges($userID, $mapID, $solution, $moves, $paths);
die(json_encode($json));
|