summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
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;