From 5f55b38cb19aa4bf4c1c56d8e3080d7b7834e27e Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 18 Apr 2013 01:58:35 -0700 Subject: Blocked shows last Target. --- includes/maps.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') 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; } -- cgit v1.2.3