summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-04-18 01:58:35 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-04-18 01:58:35 -0700
commit5f55b38cb19aa4bf4c1c56d8e3080d7b7834e27e (patch)
treeb059675ffefc046acbe8d3f650438eb16680d7a1 /includes
parent472b605532b16e1b429ab6300b98be7a41e0ba7a (diff)
downloadpathery-5f55b38cb19aa4bf4c1c56d8e3080d7b7834e27e.tar.xz
Blocked shows last Target.
Diffstat (limited to 'includes')
-rw-r--r--includes/maps.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/maps.php b/includes/maps.php
index ec338d7..6b8ba07 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -1071,6 +1071,7 @@ function routePath($mygrid, $validate = false, $traverseBackwards = false) {
//Exit if path is blocked.
if ($blocked) {
$r['blocked'] = true;
+ $r['lastTarget'] = $t;
return $r;
}