diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-04-01 00:41:58 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-04-01 00:41:58 -0700 |
commit | 8de6064f4a6e9d1c7979967406a5ca5312a3ffb7 (patch) | |
tree | b5484b02f18fa6bff41e01d74ce49e932f7a7bc5 /do.php | |
parent | ce6050bfe419f820c23f7157a5df8574c27de345 (diff) | |
download | pathery-8de6064f4a6e9d1c7979967406a5ca5312a3ffb7.tar.xz |
BUGFIX: No response from tutorial's GO, and Walls without color.
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));
|