summaryrefslogtreecommitdiffstats
path: root/do.php
diff options
context:
space:
mode:
Diffstat (limited to 'do.php')
-rw-r--r--do.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/do.php b/do.php
index 5473cba..e0dc2eb 100644
--- a/do.php
+++ b/do.php
@@ -134,8 +134,8 @@ if ($_GET['r'] == 'getpath') {
// New
// !! Broken!
//Route the path
- $json['path1'] = routePath($mygrid);
- $json['path2'] = routePath($mygrid, 'X');
+ $json['path'][] = routePath($mygrid);
+ $json['path'][] = routePath($mygrid, 'X');
// !! Tmp
//$moves = $json['moves'];