Fix interact distance check

This commit is contained in:
2024-10-21 13:25:08 +02:00
parent 0a9b9b0823
commit 3339dfe4f4
2 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ aura_env.TryInspect = function()
if not targetPlayer then return end
local targetName = UnitName("target")
if not aura_env.config.recsan and WeakAurasSaved.Cyka.AchievementSniffer[targetName] then return end
local canInspect = CanInspect("target", true)
local canInspect = CheckInteractDistance("target", 1)
if canInspect then
SetAchievementComparisonUnit("target")
end
@@ -98,3 +98,4 @@ aura_env.Scan = function(playerName)
end
--/run WeakAurasSaved.Cyka.AchievementSniffer = {}
--/dump WeakAurasSaved.Cyka.AchievementSniffer["Ichbinpal"]