mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
onLoad and onDestroy events
This commit is contained in:
@@ -129,6 +129,9 @@ int main(int argc, const char *argv[])
|
||||
// main loop, run everything
|
||||
g_engine.run();
|
||||
|
||||
// destroy root ui
|
||||
UIContainer::getRootContainer()->destroy();
|
||||
|
||||
// poll remaning events
|
||||
g_engine.poll();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user