Moved All Code Out Of Locale

This commit is contained in:
Cooldude2606
2017-12-16 00:33:27 +00:00
parent 4f12463c73
commit 592761c4af
17 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ end
require("mod-gui") require("mod-gui")
-- loads the stdlib and allows Core Game and Event -- loads the stdlib and allows Core Game and Event
Color, Game, Event = require('/locale/StdLib/load'){'Color','Game','Event'} Color, Game, Event = require('/StdLib/load'){'Color','Game','Event'}
-- loads the ExpLib, functions are plased into the lua global -- loads the ExpLib, functions are plased into the lua global
local ExpLib = require 'ExpLib' local ExpLib = require 'ExpLib'
@@ -33,11 +33,11 @@ ExpLib._unpack_to_G(ExpLib)
_G.discord_emit = nil -- un-comment this line if you are not using the json.data _G.discord_emit = 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
Ranking, Server, Gui = require('/locale/ExpCore/load'){'Ranking','Server','Gui'} Ranking, Server, Gui = require('/ExpCore/load'){'Ranking','Server','Gui'}
-- this loads the ranks that Ranking uses -- this loads the ranks that Ranking uses
require('/locale/ExpCore/ranks') require('/ExpCore/ranks')
-- this loads any edits that are not need in core pcall as file may not be preset -- this loads any edits that are not need in core pcall as file may not be preset
pcall(require,'/locale/Addons/playerRanks') pcall(require,'/Addons/playerRanks')
-- this makes sure that all the little details are cleaned up -- this makes sure that all the little details are cleaned up
Ranking._auto_edit_ranks() Ranking._auto_edit_ranks()