Added way to load modules to /interface

This commit is contained in:
Cooldude2606
2018-09-07 17:54:01 +01:00
parent e14c3a68b9
commit cd5abfc225
5 changed files with 20 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ local Admin = {
on_init=function()
if loaded_modules['ExpGamingCore.Ranking@^4.0.0'] then Ranking = require('ExpGamingCore.Ranking@^4.0.0') end
if loaded_modules['ExpGamingCore.Sync@^4.0.0'] then Sync = require('ExpGamingCore.Sync@^4.0.0') end
if loaded_modules['ExoGamingCore.Server'] then Server.add_module_to_interface('Admin','ExpGamingAdmin') end
end,
actions={},
action_names={}