aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/search.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/search.js b/tools/search.js
index 4e2e88f..fc9817a 100644
--- a/tools/search.js
+++ b/tools/search.js
@@ -22,7 +22,6 @@ function Search(searchBlock){ // searchBlock should be a Space object.
this.add = function(loc, space){ // loc should be [tileY,tileX] and space Space.
this.tiles[loc] = space;
- this.tiles[loc].loc = vec.tileToChar(loc);
let inds = Array(2); // Records horizontal and vertical indices for insertion. Then actually inserts the item.
[0,1].forEach( ind => { // ind chooses y-or-x
inds[ind] = -bs(this.sort[ind], loc, getComp(ind))-1;