diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-25 17:35:50 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-25 17:35:50 -0800 |
commit | f20d2221d1da6f7e1d3b7126261ee320ed0158b2 (patch) | |
tree | 719129daaf669a275f3f2ca5524346ad4b0cbcb3 /includes | |
parent | f83929347be13726a9e7728868c8120fdc86a188 (diff) | |
download | pathery-f20d2221d1da6f7e1d3b7126261ee320ed0158b2.tar.xz |
Temporary tutorial hack - could break with a challengemapID 5.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/datas.php | 9 |
1 files changed, 5 insertions, 4 deletions
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; // } |