diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/search.js | 2 |
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); } } |