1
0
Bifurcation 0

Moved expected_version to vars.lua and made it global.

Cette révision appartient à :
Nathanial.C.Jones 2013-01-03 01:11:02 +00:00
Parent 39c8f81f24
révision 9642395354
2 fichiers modifiés avec 3 ajouts et 3 suppressions

Voir le fichier

@ -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.

Voir le fichier

@ -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")