summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-25 17:35:50 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-25 17:35:50 -0800
commitf20d2221d1da6f7e1d3b7126261ee320ed0158b2 (patch)
tree719129daaf669a275f3f2ca5524346ad4b0cbcb3
parentf83929347be13726a9e7728868c8120fdc86a188 (diff)
downloadpathery-f20d2221d1da6f7e1d3b7126261ee320ed0158b2.tar.xz
Temporary tutorial hack - could break with a challengemapID 5.
-rw-r--r--includes/datas.php9
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;
// }