Update
This commit is contained in:
@@ -7,5 +7,6 @@ function(e, source)
|
||||
local name = UnitName("target")
|
||||
if not name then return end
|
||||
if not aura_env.me then aura_env.me = UnitName("player") end
|
||||
SendChatMessage(".ch " .. name, "WHISPER", nil, aura_env.me)
|
||||
local msg = ".ch " .. name
|
||||
SendChatMessage(msg, "WHISPER", nil, aura_env.me)
|
||||
end
|
@@ -175,6 +175,10 @@ Key = {
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end,
|
||||
---@param self Key
|
||||
register = function(self)
|
||||
WeakAurasSaved.Cyka.MData[self:hash()] = self
|
||||
end
|
||||
}
|
||||
|
||||
@@ -201,10 +205,10 @@ function aura_env.Process()
|
||||
score = string.gsub(score, "%s+", "")
|
||||
|
||||
local keyObj = Key.new(key, role, level, time, score)
|
||||
keyObj:register()
|
||||
if key then
|
||||
keys[#keys + 1] = keyObj
|
||||
end
|
||||
WeakAurasSaved.Cyka.MData[keyObj:hash()] = keyObj
|
||||
end
|
||||
table.sort(keys, Key.compareTo)
|
||||
render(keys)
|
||||
|
Reference in New Issue
Block a user