Working on main menu and tutorials

This commit is contained in:
Vladislav Khorev committed 2026-06-09 17:20:03 +03:00
1 parent 0ed7021e90
commit 80133aa8c8
9 files changed
+43 -211

No files matched your search

+6
View File
@@ -370,6 +370,12 @@ namespace ZL {
game->requestClosePhone();
});
api.set_function("return_to_main_menu",
[game]() {
if (game->requestReturnToMainMenu)
game->requestReturnToMainMenu();
});
api.set_function("set_chat_callbacks",
[this_impl = impl.get()](sol::object cb0, sol::object cb1, sol::object cb2) {
if (cb0.is<sol::protected_function>()) this_impl->chatOpenCallbacks[0] = cb0.as<sol::protected_function>();