mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Topmenu fix
* Will no longer duplicate topmenu buttons (no need to destroy in the module now) * Menu items will no longer change position when reloaded.
This commit is contained in:
@@ -136,17 +136,11 @@ function EnterGame.terminate()
|
||||
removeEvent(autoLoginEvent)
|
||||
enterGame:destroy()
|
||||
enterGame = nil
|
||||
enterGameButton:destroy()
|
||||
enterGameButton = nil
|
||||
protocolBox = nil
|
||||
if motdWindow then
|
||||
motdWindow:destroy()
|
||||
motdWindow = nil
|
||||
end
|
||||
if motdButton then
|
||||
motdButton:destroy()
|
||||
motdButton = nil
|
||||
end
|
||||
if loadBox then
|
||||
loadBox:destroy()
|
||||
loadBox = nil
|
||||
|
Reference in New Issue
Block a user