aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/jarvis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js
index 9d4bb91..a78024b 100644
--- a/examples/jarvis.js
+++ b/examples/jarvis.js
@@ -43,7 +43,7 @@ function identity(sender){
let loc = locs[i];
if (read.has(loc)) clearTimeout(expire[loc]);
let locspace = new Space();
- locspace.fromfetch(tiles, [loc[0][0], loc[0][1], loc[1][0], loc[1][1]], conform=false);
+ locspace.fromfetch(tiles, [loc, loc], conform=false);
let results = read.add(locspace);
if (! results) respond(results);
expire[loc] = setTimeout(()=>{read.del(loc)}, 30000);