From 373c31ffc41e76165aca5ee709284045c799f0e7 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 18 Aug 2012 17:53:29 -0700 Subject: Syntax error --- includes/maps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/maps.php b/includes/maps.php index 1e18804..cddd0d5 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -899,7 +899,7 @@ function routePath($mygrid, $start = '', $validate = false) { // Doing this scan once is far more effecient than rescanning. $tileLocations = findTilesM($mygrid, str_split('S')); - if (in_array($tileLocations, "S") { + if (in_array("S", $tileLocations)) { } -- cgit v1.2.3