Moved Order Of Load

This commit is contained in:
Cooldude2606
2018-04-07 17:34:42 +01:00
parent 5771dfbbc8
commit 66976fe224

View File

@@ -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 --_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 -- 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') local success,err = pcall(require,'/ExpCore/GuiParts/test')
if success then Gui.test = err end if success then Gui.test = err end
if Gui.popup then Gui.popup._load() end if Gui.popup then Gui.popup._load() end