aboutsummaryrefslogtreecommitdiff
path: root/src/features/events
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-27 15:41:25 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-27 15:41:25 +0800
commit22bbcec4bceba8e8b314d18bf9b54bfc2c591ba3 (patch)
tree6572f91b391b651dd80d856a755786ff291d1802 /src/features/events
parentc24f8369cb7a368c1c89404c2860f4f2f4b78014 (diff)
downloadSoopyV2-22bbcec4bceba8e8b314d18bf9b54bfc2c591ba3.tar.gz
SoopyV2-22bbcec4bceba8e8b314d18bf9b54bfc2c591ba3.tar.bz2
SoopyV2-22bbcec4bceba8e8b314d18bf9b54bfc2c591ba3.zip
+ fix double powder not disabling
+ (possibly) fix diana warp hotkey being buggy
Diffstat (limited to 'src/features/events')
-rw-r--r--src/features/events/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/events/index.js b/src/features/events/index.js
index aea1fea..ab26ce0 100644
--- a/src/features/events/index.js
+++ b/src/features/events/index.js
@@ -344,7 +344,7 @@ class Events extends Feature {
this.hasWarps.forEach(w => {
if (!warpData[w]) return
- let d = calculateDistance(warpData[w], this.guessPoint2)
+ let d = calculateDistance(warpData[w], this.guessPoint)
if (d < minDist) {
warp = "warp " + w
minDist = d