summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/maps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/maps.php b/includes/maps.php
index b168b35..474a2ad 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -885,7 +885,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)) {
}