diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2012-09-30 18:04:57 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2012-09-30 18:04:57 -0500 |
commit | 60c8232de409d0cb6de37ef87a489049f060003d (patch) | |
tree | 46fdb1be91eb3a4db354d064363a46fbf27fdb8b /includes/maps.php | |
parent | 2ce5e3800ff764870c93038d0c5ed35181225a52 (diff) | |
download | pathery-60c8232de409d0cb6de37ef87a489049f060003d.tar.xz |
Did some more work on the challenges, to have them added to the DB when the user actually completes them. No idea if it actually works yet :)
Diffstat (limited to 'includes/maps.php')
-rw-r--r-- | includes/maps.php | 2 |
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 {
|