From aeacdd6ac410d4b576cf9e804d709cd64fa00384 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Fri, 25 Jan 2013 19:27:51 -0600 Subject: Tiers are now unlocked as the user players through challenges; challenges left to next tier displayed on challengelist page (untested) --- pages/challenge.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pages/challenge.php') diff --git a/pages/challenge.php b/pages/challenge.php index ceefebe..e5fcd45 100644 --- a/pages/challenge.php +++ b/pages/challenge.php @@ -69,16 +69,16 @@ topbar($Links); //Check that the user is allowed to do the challenges if (!$accepted) { - echo "
Please login to do the challenges!"; + echo "
Please login to do the challenges!
"; + htmlFooter(); + return; +} + +if (!hasCompletedTutorial($userID)) { + echo "
Please complete the tutorial to unlock Challenge mode!"; htmlFooter(); return; } -//TODO: Uncomment -//if (!hasCompletedTutorial($userID)) { -// echo "
Please complete the tutorial to unlock Challenge mode!"; -// htmlFooter(); -// return; -//} if(!isset($_GET["mapID"])) { -- cgit v1.2.3