From 016f8cccd578b8f794021035ff8f516a44bcbda4 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 7 Nov 2011 02:05:16 -0800 Subject: Tutorial work --- includes/maps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/maps.php') 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; -- cgit v1.2.3