Fix stinkies in stinky
This commit is contained in:
@@ -256,7 +256,7 @@ if aura_env.config.addFriends and not aura_env.config.addFriends2 then
|
|||||||
local name = GetFriendInfo(i)
|
local name = GetFriendInfo(i)
|
||||||
friends[name] = true
|
friends[name] = true
|
||||||
end
|
end
|
||||||
for k, v in pairs(WeakAurasSaved.Cyka.Stinkies) do
|
for k, v in pairs(aura_env.stinkies) do
|
||||||
if not friends[k] then
|
if not friends[k] then
|
||||||
AddFriend(k)
|
AddFriend(k)
|
||||||
end
|
end
|
||||||
@@ -265,7 +265,7 @@ if aura_env.config.addFriends and not aura_env.config.addFriends2 then
|
|||||||
local numfriends = GetNumFriends()
|
local numfriends = GetNumFriends()
|
||||||
for i = 1, numfriends do
|
for i = 1, numfriends do
|
||||||
local name = GetFriendInfo(i)
|
local name = GetFriendInfo(i)
|
||||||
if WeakAurasSaved.Cyka.Stinkies[name] then
|
if aura_env.stinkies[name] then
|
||||||
C_Timer.After(1, function()
|
C_Timer.After(1, function()
|
||||||
-- print(name .. " " .. i .. " Stinky!")
|
-- print(name .. " " .. i .. " Stinky!")
|
||||||
SetFriendNotes(i, "STINKY")
|
SetFriendNotes(i, "STINKY")
|
||||||
|
|||||||
Reference in New Issue
Block a user