Rename 'addons' folder to 'mods' to avoid

Use onRun event to play startup music
This commit is contained in:
Eduardo Bart
2012-07-16 20:04:45 -03:00
parent bc81c9c8bf
commit 59fc3d5f77
4 changed files with 13 additions and 12 deletions

View File

@@ -15,8 +15,8 @@ if not g_resources.addSearchPath(g_resources.getWorkDir() .. "modules", true) th
g_logger.fatal("Unable to add modules directory to the search path.")
end
-- try to add addons path too
g_resources.addSearchPath(g_resources.getWorkDir() .. "addons", true)
-- try to add mods path too
g_resources.addSearchPath(g_resources.getWorkDir() .. "mods", true)
-- setup directory for saving configurations
g_resources.setupUserWriteDir(g_app.getCompactName())
@@ -41,7 +41,7 @@ g_modules.ensureModuleLoaded("client")
g_modules.autoLoadModules(999)
g_modules.ensureModuleLoaded("game")
-- addons 1000-9999
-- mods 1000-9999
g_modules.autoLoadModules(9999)
if g_resources.fileExists("/otclientrc.lua") then