diff options
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -215,9 +215,8 @@ if ($_GET['r'] == 'getpath') { // --------- USER LOGGED IN
//Challenge/Tutorial?
- if ($mapID <= 10 AND $_GET['isChallenge'] = 'true') {
- //echo "running function".$_GET['challengeID'];
- applyChallengeAchievements($userID, $_GET['challengeID'], $mapID, $solution, $moves);
+ if ($_GET['isChallenge'] == 'true') {
+ checkForCompletedChallenges($userID, $mapID, $solution, $moves, $json['path']);
return;
}
|