mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Re-add destroying for unloading, other clean up:
* Cleaned some module terminate code * Fixed "reload all" issues
This commit is contained in:
@@ -57,13 +57,7 @@ function terminate()
|
||||
disconnect(g_game, { onGameStart = showGameButtons,
|
||||
onGameEnd = hideGameButtons })
|
||||
|
||||
leftButtonsPanel = nil
|
||||
rightButtonsPanel = nil
|
||||
leftGameButtonsPanel = nil
|
||||
rightGameButtonsPanel = nil
|
||||
|
||||
topMenu:destroy()
|
||||
topMenu = nil
|
||||
end
|
||||
|
||||
function addLeftButton(id, description, icon, callback, front)
|
||||
|
Reference in New Issue
Block a user