Implement rule violations, closes #218

This commit is contained in:
Eduardo Bart
2013-01-27 07:44:15 -02:00
parent 6c59124cb2
commit 9aca1644e6
15 changed files with 282 additions and 38 deletions

View File

@@ -47,7 +47,8 @@ g_modules.ensureModuleLoaded("game_interface")
-- mods 1000-9999
g_modules.autoLoadModules(9999)
if g_resources.fileExists("/otclientrc") then
dofile("/otclientrc")
local script = '/' .. g_app.getCompactName() .. 'rc'
if g_resources.fileExists(script) then
dofile(script)
end