mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-11 23:54:52 +09:00
Added way to load modules to /interface
This commit is contained in:
1 parent
e14c3a68b9
commit
cd5abfc225
5 files changed
+20
-4
No files matched your search
@@ -311,6 +311,7 @@ script.on_event('on_rocket_launched',Sync.emit_update)
|
||||
function Sync:on_init()
|
||||
if loaded_modules['ExpGamingCore.Gui'] then verbose('ExpGamingCore.Gui is installed; Loading gui src') require(module_path..'/src/gui',{Sync=Sync}) end
|
||||
if loaded_modules['ExpGamingCore.Ranking'] then verbose('ExpGamingCore.Ranking is installed; Loading ranking src') require(module_path..'/src/ranking',{Sync=Sync}) end
|
||||
if loaded_modules['ExoGamingCore.Server'] then Server.add_module_to_interface('Sync') end
|
||||
end
|
||||
|
||||
function Sync:on_post()
|
||||
|
||||
Reference in new issue
Block a user