diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-03-26 00:07:38 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-03-26 00:07:38 -0400 |
commit | 9634a1c6d79a93ab79c5354d2240ed11ad9abbe7 (patch) | |
tree | ec579b22851d7e91f6ac854ac414fbfe66a80351 /socket.js | |
parent | 7f3110ec388bdf6b72579b70a5736f3f53809de4 (diff) | |
parent | 183b38854c8efef2af9e4118060bc2dc4a84befc (diff) |
Merge branch 'master' into bulletbullet
Diffstat (limited to 'socket.js')
-rw-r--r-- | socket.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ class Socket extends retryws { this.fetch = function(coords){ //coords is a list of min/max pairs of y/x coordinate pairs which each describe at most 1000 tiles //Unchecked for speed - for (var i=0; i<coords.length; i++){ + for (let i=0; i<coords.length; i++){ coords[i] = {"minY":coords[i][0][0], "minX":coords[i][0][1], "maxY":coords[i][1][0], "maxX":coords[i][1][1]}; } this.send( JSON.stringify({ |