mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Added way to load modules to /interface
This commit is contained in:
@@ -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