From 8de6064f4a6e9d1c7979967406a5ca5312a3ffb7 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 1 Apr 2013 00:41:58 -0700 Subject: BUGFIX: No response from tutorial's GO, and Walls without color. --- do.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'do.php') diff --git a/do.php b/do.php index cb90d84..04bed0a 100644 --- a/do.php +++ b/do.php @@ -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)); -- cgit v1.2.3