summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2011-11-07 02:05:16 -0800
committerPatrick Davison <snapwilliam@gmail.com>2011-11-07 02:05:16 -0800
commit016f8cccd578b8f794021035ff8f516a44bcbda4 (patch)
tree3ea23e5b44718e68a15b3eeb4254b0fe939af4ac /includes/maps.php
parentc128a5d15dba6f2715906e8a1a6714b942a6f886 (diff)
downloadpathery-016f8cccd578b8f794021035ff8f516a44bcbda4.tar.xz
Tutorial work
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/maps.php b/includes/maps.php
index 901a946..ef1d6e0 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -389,7 +389,7 @@ function GenerateShapedMap($shape, $params) {
else
$teleports = 0;
- if ($params['walls'])
+ if (is_int($params['walls']))
$walls = $params['walls'];
else
$walls = 13;