aboutsummaryrefslogtreecommitdiff
path: root/features/events/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-11 21:12:50 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-11 21:12:50 +0800
commit8e7d6d4a6be5af3b377ff179d0d074ac5351ada0 (patch)
treeff0e5b034b8417418b3c77d8f0fdbff608e799be /features/events/index.js
parent0dd404208fc066dcb3f826c7c2f558a9bcc27725 (diff)
parent0275a74eb6c13203f7726de0afe87b31784420af (diff)
downloadSoopyV2-8e7d6d4a6be5af3b377ff179d0d074ac5351ada0.tar.gz
SoopyV2-8e7d6d4a6be5af3b377ff179d0d074ac5351ada0.tar.bz2
SoopyV2-8e7d6d4a6be5af3b377ff179d0d074ac5351ada0.zip
Merge branch 'master' of https://github.com/Soopyboo32/SoopyV2
Diffstat (limited to 'features/events/index.js')
-rw-r--r--features/events/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js
index 511295a..8c18c04 100644
--- a/features/events/index.js
+++ b/features/events/index.js
@@ -346,7 +346,7 @@ class Events extends Feature {
this.hasWarps.forEach(w => {
if (!warpData[w]) return
- let d = calculateDistance(warpData[w], this.guessPoint)
+ let d = calculateDistance(warpData[w], this.guessPoint2)
if (d < minDist) {
warp = "warp " + w
minDist = d