diff options
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_mainmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 31fc45ce2..8ee2069b1 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -1045,7 +1045,7 @@ int ModApiMainMenu::l_do_async_callback(lua_State *L) std::string serialized_func = std::string(serialized_func_raw, func_length); std::string serialized_param = std::string(serialized_param_raw, param_length); - lua_pushinteger(L, engine->DoAsync(serialized_func, serialized_param)); + lua_pushinteger(L, engine->queueAsync(serialized_func, serialized_param)); return 1; } |