aboutsummaryrefslogtreecommitdiff
path: root/tools/claim.js
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-03-26 00:07:38 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-03-26 00:07:38 -0400
commit9634a1c6d79a93ab79c5354d2240ed11ad9abbe7 (patch)
treeec579b22851d7e91f6ac854ac414fbfe66a80351 /tools/claim.js
parent7f3110ec388bdf6b72579b70a5736f3f53809de4 (diff)
parent183b38854c8efef2af9e4118060bc2dc4a84befc (diff)
Merge branch 'master' into bulletbullet
Diffstat (limited to 'tools/claim.js')
-rw-r--r--tools/claim.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/claim.js b/tools/claim.js
index b43417b..5989a8c 100644
--- a/tools/claim.js
+++ b/tools/claim.js
@@ -25,9 +25,9 @@ module.exports = function(){
this.handle = function(send, tilespaces, locs){
// Because usually tilespaces is small, the inefficiency of an O(nk) rect match is acceptable
for (let id in claims){
- claim = claims[id];
- diffspace = {};
- rellocs = [];
+ let claim = claims[id];
+ let diffspace = {};
+ let rellocs = [];
for (let loc of locs){
let tile = tilespaces[loc];
if (ri(claim.area, [vec.tileToChar(loc), vec.tileToChar(vec.add(loc, [1,1]))])){