Moved expected_version to vars.lua and made it global.
Cette révision appartient à :
Parent
39c8f81f24
révision
9642395354
2 fichiers modifiés avec 3 ajouts et 3 suppressions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
QHQuestsCompleted = false
|
||||
|
||||
expected_version = GetAddOnMetadata("QuestHelper", "Version")
|
||||
|
|
Référencer dans un nouveau ticket