Compare commits

..

No commits in common. "bc48324e63ed901ac17c340c37a648b426e82751" and "113bc79d77777edaa5e7d4860a5de4eb9eb28f40" have entirely different histories.

3 changed files with 6 additions and 10 deletions

View File

@ -1,16 +1,12 @@
allow_defined = true allow_defined = true
compat
max_line_length = false max_line_length = false
std = { std = {
read_globals = { read_globals = {
"CHAT_SYSTEM",
"EVENT_ACHIEVEMENT_UPDATED",
"EVENT_ADD_ON_LOADED",
"EVENT_MANAGER",
"LibStub"
"LINK_STYLE_BRACKET", "LINK_STYLE_BRACKET",
"zo_callLater", "EVENT_MANAGER",
"ZO_SavedVars", "CHAT_SYSTEM",
"ZO_SavedVars",
"LibStub"
} }
} }

View File

@ -7,7 +7,7 @@
-- Init -- Init
AchievementInfo.hijackedFirstLoad = false AchievementInfo.hijackedFirstLoad = false
function AchievementInfo.initialize(_, addOnName) function AchievementInfo.initialize(eventCode, addOnName)
if (addOnName ~= AchievementInfo.name) then return end if (addOnName ~= AchievementInfo.name) then return end
-- --

View File

@ -6,7 +6,7 @@
-- Do the magic -- Do the magic
function AchievementInfo.onAchievementUpdated(_, achId) function AchievementInfo.onAchievementUpdated(eventCode, achId)
local output = "" local output = ""
-- addOn enabled? -- addOn enabled?