From f20d2221d1da6f7e1d3b7126261ee320ed0158b2 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Fri, 25 Jan 2013 17:35:50 -0800 Subject: Temporary tutorial hack - could break with a challengemapID 5. --- includes/datas.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/datas.php b/includes/datas.php index 8814625..a9f3b3c 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -306,11 +306,12 @@ function getCompletedChallenges($userID, $mapID, $solution, $moves, $paths) { //$firephp = FirePHP::getInstance(true); //$firephp->log("In challenges"); - //TODO: !! Get rid of this + //TODO: Fix / depreciate this. Re-adapt tutorial + // Temporary Hack to complete the tutorial... // if($mapID <= 10) { - // if ($mapID == 5 && $moves == 75) { - // onCompletedTutorial($userID); - // } + if ($mapID == 5 && $moves == 75) { + onCompletedTutorial($userID); + } // return; // } -- cgit v1.2.3