Working on main menu and tutorials
This commit is contained in:
1 parent
0ed7021e90
commit
80133aa8c8
9 files changed
+43
-211
No files matched your search
@@ -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>();
|
||||
|
||||
Reference in new issue
Block a user