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, 2 insertions, 0 deletions
diff --git a/includes/maps.php b/includes/maps.php
index 05559b4..2b20eac 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -965,6 +965,8 @@ function routePath($mygrid, $validate = false, $traverseBackwards = false) {
//Mark where we ended up starting from.
if ($r['start'] == '')
$r['start'] = $p['start'];
+ $r['end'] = $p['end'];
+
//Could be blocked right already.
$blocked = $p['blocked'];
do {