mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 13:33:27 +02:00
Re-add destroying for unloading, other clean up:
* Cleaned some module terminate code * Fixed "reload all" issues
This commit is contained in:
@@ -70,19 +70,7 @@ function terminate()
|
||||
disconnect(g_game, { onGameEnd = offline })
|
||||
|
||||
healthInfoWindow:destroy()
|
||||
healthInfoWindow = nil
|
||||
healthInfoButton = nil
|
||||
|
||||
healthBar = nil
|
||||
manaBar = nil
|
||||
soulBar = nil
|
||||
|
||||
healthLabel = nil
|
||||
manaLabel = nil
|
||||
soulLabel = nil
|
||||
capLabel = nil
|
||||
|
||||
HealthInfo = nil
|
||||
healthInfoButton:destroy()
|
||||
end
|
||||
|
||||
function toggle()
|
||||
|
Reference in New Issue
Block a user