mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
a lot of changes in modules
This commit is contained in:
@@ -74,3 +74,16 @@ function createWidget(style, parent)
|
||||
widget:setStyle(style)
|
||||
return widget
|
||||
end
|
||||
|
||||
function reloadModule(name)
|
||||
local module = g_modules.getModule(name)
|
||||
if module then
|
||||
module:reload()
|
||||
end
|
||||
end
|
||||
|
||||
function reloadModules()
|
||||
g_modules.reloadModules()
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user