diff options
Diffstat (limited to 'do.php')
-rw-r--r-- | do.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'];
|