Fix stinkies in stinky

This commit is contained in:
2024-10-14 21:01:04 +02:00
parent d51021c5e1
commit ed4d8752a8

View File

@@ -256,7 +256,7 @@ if aura_env.config.addFriends and not aura_env.config.addFriends2 then
local name = GetFriendInfo(i)
friends[name] = true
end
for k, v in pairs(WeakAurasSaved.Cyka.Stinkies) do
for k, v in pairs(aura_env.stinkies) do
if not friends[k] then
AddFriend(k)
end
@@ -265,7 +265,7 @@ if aura_env.config.addFriends and not aura_env.config.addFriends2 then
local numfriends = GetNumFriends()
for i = 1, numfriends do
local name = GetFriendInfo(i)
if WeakAurasSaved.Cyka.Stinkies[name] then
if aura_env.stinkies[name] then
C_Timer.After(1, function()
-- print(name .. " " .. i .. " Stinky!")
SetFriendNotes(i, "STINKY")