From c517b645c8723b5f4d20cbb91cbc4b9f45579cbb Mon Sep 17 00:00:00 2001 From: Snap Date: Thu, 7 May 2015 13:07:37 -0700 Subject: Minor tweaks to map creation. - Mapeditor disabled - Major changes to maps.php incoming... --- pages/mapeditor.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pages') diff --git a/pages/mapeditor.php b/pages/mapeditor.php index ec02bb6..f67cad1 100644 --- a/pages/mapeditor.php +++ b/pages/mapeditor.php @@ -3,6 +3,10 @@ include_once('./includes/maps.php'); include_once('./includes/mapclass.php'); include_once('./includes/mapoftheday.php'); +echo "too broken; will fix soon"; + +exit; + //Self-ajax. if ($_REQUEST['mapByCode']) { $map = new map($_REQUEST['mapByCode']); @@ -27,7 +31,7 @@ if ($_REQUEST['mapByMap']) { } if ($_REQUEST['genMap']) { - +/* $map = GenerateMap( normalizeNumber($_REQUEST['width'], 50, 6), normalizeNumber($_REQUEST['height'], 50, 6), @@ -36,8 +40,8 @@ if ($_REQUEST['genMap']) { normalizeNumber($_REQUEST['checkpoints'], 5, 0), normalizeNumber($_REQUEST['teleports'], 5, 0) ); - - //$map = getRandomSpecialMap(); + */ + $map = getRandomSpecialMap(); $code = GenerateMapCode($map); -- cgit v1.2.3