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:
BeniS
2013-02-01 14:47:15 +13:00
parent b34cc18f98
commit 35e5dd8af8
15 changed files with 8 additions and 32 deletions

View File

@@ -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