mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Re-add destroying for unloading, other clean up:
* Cleaned some module terminate code * Fixed "reload all" issues
This commit is contained in:
@@ -737,9 +737,7 @@ function terminate()
|
||||
disconnect(g_game, { onGameEnd = Market.reset })
|
||||
disconnect(g_game, { onGameEnd = Market.close })
|
||||
|
||||
if marketWindow then
|
||||
marketWindow:destroy()
|
||||
end
|
||||
marketWindow:destroy()
|
||||
|
||||
Market = nil
|
||||
end
|
||||
|
Reference in New Issue
Block a user