aboutsummaryrefslogtreecommitdiff
path: root/tools/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/search.js')
-rw-r--r--tools/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/search.js b/tools/search.js
index 378f316..56137b8 100644
--- a/tools/search.js
+++ b/tools/search.js
@@ -32,7 +32,7 @@ function Search(){ // searchBlock should be a Space object.
searchspace.comb( this.tiles[tile], comb.add );
});
for (let i=0; i<this.spaces.length; i++){
- let coords = searchspace.search(this.spaces[i]);
+ let coords = searchspace.regex(this.spaces[i]);
if (coords.length) this.calls[i](vec.add(coords, searchspace.loc), send, searchspace);
}
}