From 66976fe2245d55e0014aa189f2ebeb1391796993 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sat, 7 Apr 2018 17:34:42 +0100 Subject: [PATCH 1/2] Moved Order Of Load --- control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 58bb17bc628516bacc6a77301eaedc16be1f4ba6 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sat, 7 Apr 2018 17:35:07 +0100 Subject: [PATCH 2/2] Moved More --- ExpCore/load.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',