summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/datas.php6
-rw-r--r--includes/maps.php3
2 files changed, 5 insertions, 4 deletions
diff --git a/includes/datas.php b/includes/datas.php
index f1f4377..fa04300 100644
--- a/includes/datas.php
+++ b/includes/datas.php
@@ -304,9 +304,9 @@ function applyCareerMazesAchievements($userID) {
*/
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 < 10) {
+ //$firephp = FirePHP::getInstance(true);
+ //$firephp->log("In challenges");
+ if($mapID <= 10) {
if ($mapID == 5 && $moves == 75) {
onCompletedTutorial($userID);
}
diff --git a/includes/maps.php b/includes/maps.php
index 2b20eac..b6912a2 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -74,7 +74,8 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL)
<div id='child_$handle' class='grid_inner'></div></td>"; break;
case 'a': case 'b': case 'c': case 'd': case 'e':
- $maptable .= "<td title='Checkpoint A. Position: $j,$i' class='grid_td_cp$mapItemCode' id='$handle' >
+ $checkpoint = strtoupper($mapMatrix[$i][$j]);
+ $maptable .= "<td title='Checkpoint $checkpoint. Position: $j,$i' class='grid_td_cp$mapItemCode' id='$handle' >
<div id='child_$handle' class='grid_inner'></div></td>";
break;