diff --git a/ExpCore/load.lua b/ExpCore/load.lua index 3edd76ef..1eebd179 100644 --- a/ExpCore/load.lua +++ b/ExpCore/load.lua @@ -18,9 +18,9 @@ Pass a table with the names of the objects you want and it will be return in tha local StdExpCoreLib = {} require '/commands' -StdExpCoreLib.Sync = require '/sync' StdExpCoreLib.Server = require '/server' StdExpCoreLib.Ranking = require '/ranking' +StdExpCoreLib.Sync = require '/sync' StdExpCoreLib.Gui = require '/gui' StdExpCoreLib.Gui:_load_parts{ 'inputs', diff --git a/control.lua b/control.lua index 69a7e6a5..3fa53e8b 100644 --- a/control.lua +++ b/control.lua @@ -44,7 +44,7 @@ ExpLib._unpack_to_G(ExpLib) --_G.Sync.emit_embeded = nil -- un-comment this line if you are not using the json.data -- loads the ExpCore files these are need in order to run the other addons -Sync, Ranking, Server, Gui = require('/ExpCore/load'){'Sync','Ranking','Server','Gui'} +Ranking, Sync, Server, Gui = require('/ExpCore/load'){'Ranking','Sync','Server','Gui'} local success,err = pcall(require,'/ExpCore/GuiParts/test') if success then Gui.test = err end if Gui.popup then Gui.popup._load() end