mirror of
https://github.com/edubart/otclient.git
synced 2025-05-02 18:49:21 +02:00
Merge pull request #324 from TiagoTdA/master
Update/Refresh modules on unload
This commit is contained in:
commit
0dccc870b5
@ -137,7 +137,7 @@ function unloadCurrentModule()
|
||||
local module = g_modules.getModule(focusedChild:getText())
|
||||
if module then
|
||||
module:unload()
|
||||
if ModuleManager == nil then return end
|
||||
if modules.client_modulemanager == nil then return end
|
||||
updateModuleInfo(module:getName())
|
||||
refreshLoadedModules()
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user