summaryrefslogtreecommitdiffstats
path: root/includes/datas.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2012-10-01 01:43:55 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2012-10-01 01:43:55 -0500
commit8fd6ea8061418b8058dc5aba5d71e4cc0f6182f9 (patch)
treeab551b17569cfc290bb778f98728aedb95dab4f5 /includes/datas.php
parent692b24631dec76ed6adc784776e6c797208cf184 (diff)
downloadpathery-8fd6ea8061418b8058dc5aba5d71e4cc0f6182f9.tar.xz
Fixing tutorial
Diffstat (limited to 'includes/datas.php')
-rw-r--r--includes/datas.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/datas.php b/includes/datas.php
index d1e2618..952f903 100644
--- a/includes/datas.php
+++ b/includes/datas.php
@@ -306,8 +306,8 @@ function getCompletedChallenges($userID, $mapID, $solution, $moves, $paths) {
//mapID 5 is the tutorial, and is treated specially
$firephp = FirePHP::getInstance(true);
$firephp->log("In challenges");
- if($mapID == 5) {
- if ($moves == 75) {
+ if($mapID < 10) {
+ if ($mapID == 5 && $moves == 75) {
onCompletedTutorial($userID);
}
return;