more declarations
Cette révision appartient à :
Parent
a09a81f8ec
révision
dc4c8a67c7
21
Declares.lua
21
Declares.lua
|
@ -1,18 +1,23 @@
|
|||
--[[
|
||||
Author: Alternator (Massiner of Nathrezim)
|
||||
Copyright 2010
|
||||
|
||||
Notes:
|
||||
|
||||
Notes:
|
||||
|
||||
|
||||
]]
|
||||
|
||||
BFLocales = {};
|
||||
BFConst = {};
|
||||
BFUtil = {};
|
||||
BFUILib = {};
|
||||
BFButton = {};
|
||||
BFBar = {};
|
||||
BFLocales = {};
|
||||
BFConst = {};
|
||||
BFUtil = {};
|
||||
BFUILib = {};
|
||||
BFButton = {};
|
||||
BFBar = {};
|
||||
BFCustomAction = {};
|
||||
ButtonForge_API1 = {};
|
||||
ButtonForgeSave = {};
|
||||
|
||||
ButtonForgeSave.Bars = {};
|
||||
ButtonForgeGlobalSettings = {};
|
||||
ButtonForgeGlobalProfiles = {};
|
||||
ButtonForgeGlobalBackup = {};
|
||||
|
|
4
Util.lua
4
Util.lua
|
@ -246,7 +246,7 @@ function Util.UpdateSavedData()
|
|||
|
||||
|
||||
-----This section updates the global button forge data (introduced at 0.9.16)
|
||||
if (not ButtonForgeGlobalSettings) then
|
||||
if (not ButtonForgeGlobalSettings) or (ButtonForgeGlobalSettings == nil) then
|
||||
ButtonForgeGlobalSettings = {};
|
||||
ButtonForgeGlobalSettings["Version"] = 0.9;
|
||||
ButtonForgeGlobalSettings["VersionMinor"] = 16;
|
||||
|
@ -267,7 +267,7 @@ function Util.UpdateSavedData()
|
|||
end
|
||||
|
||||
--pre v0.9.36 Safety process
|
||||
if (not ButtonForgeGlobalProfiles) then
|
||||
if (not ButtonForgeGlobalProfiles) or (ButtonForgeGlobalProfiles == nil) then
|
||||
ButtonForgeGlobalProfiles = {};
|
||||
end
|
||||
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket