summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;