diff --git a/QuestHelper/main.lua b/QuestHelper/main.lua index 75094f5..8247cc3 100644 --- a/QuestHelper/main.lua +++ b/QuestHelper/main.lua @@ -123,8 +123,6 @@ end local function FileCheck() local file_problem_version = false - local expected_version = GetAddOnMetadata("QuestHelper", "Version") - -- Why are we checking to make sure these files load? -- Most if not all are named in the toc file. -- Duh... There's a lot of files, ergo a method to make sure all expected files have been named in the toc file and check for files that are unexpected too. diff --git a/QuestHelper/vars.lua b/QuestHelper/vars.lua index a3041f8..8a1cc37 100755 --- a/QuestHelper/vars.lua +++ b/QuestHelper/vars.lua @@ -35,4 +35,6 @@ QuestHelper.quest_log = {} QuestHelper.pos = {nil, {}, 0, 0, 1, "You are here.", 0} QuestHelper.sharing = false -- Will be set to true when sharing with at least one user. -QHQuestsCompleted = false \ No newline at end of file +QHQuestsCompleted = false + +expected_version = GetAddOnMetadata("QuestHelper", "Version")