diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/mapeditor.php | 10 |
1 files changed, 7 insertions, 3 deletions
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); |