more declarations

Cette révision appartient à :
Albirew 2019-10-15 15:38:20 +02:00
Parent a09a81f8ec
révision dc4c8a67c7
2 fichiers modifiés avec 15 ajouts et 10 suppressions

Voir le fichier

@ -1,18 +1,23 @@
--[[ --[[
Author: Alternator (Massiner of Nathrezim) Author: Alternator (Massiner of Nathrezim)
Copyright 2010 Copyright 2010
Notes: Notes:
]] ]]
BFLocales = {}; BFLocales = {};
BFConst = {}; BFConst = {};
BFUtil = {}; BFUtil = {};
BFUILib = {}; BFUILib = {};
BFButton = {}; BFButton = {};
BFBar = {}; BFBar = {};
BFCustomAction = {}; BFCustomAction = {};
ButtonForge_API1 = {}; ButtonForge_API1 = {};
ButtonForgeSave = {}; ButtonForgeSave = {};
ButtonForgeSave.Bars = {};
ButtonForgeGlobalSettings = {};
ButtonForgeGlobalProfiles = {};
ButtonForgeGlobalBackup = {};

Voir le fichier

@ -246,7 +246,7 @@ function Util.UpdateSavedData()
-----This section updates the global button forge data (introduced at 0.9.16) -----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 = {};
ButtonForgeGlobalSettings["Version"] = 0.9; ButtonForgeGlobalSettings["Version"] = 0.9;
ButtonForgeGlobalSettings["VersionMinor"] = 16; ButtonForgeGlobalSettings["VersionMinor"] = 16;
@ -267,7 +267,7 @@ function Util.UpdateSavedData()
end end
--pre v0.9.36 Safety process --pre v0.9.36 Safety process
if (not ButtonForgeGlobalProfiles) then if (not ButtonForgeGlobalProfiles) or (ButtonForgeGlobalProfiles == nil) then
ButtonForgeGlobalProfiles = {}; ButtonForgeGlobalProfiles = {};
end end