aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 312a999..d208c4d 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