mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
LocalPlayer api lua
This commit is contained in:
parent
58d83a7bb2
commit
8ad3dad137
7 changed files with 640 additions and 2 deletions
|
@ -1865,8 +1865,10 @@ void Client::afterContentReceived(IrrlichtDevice *device)
|
|||
m_state = LC_Ready;
|
||||
sendReady();
|
||||
|
||||
if (g_settings->getBool("enable_client_modding"))
|
||||
if (g_settings->getBool("enable_client_modding")) {
|
||||
m_script->on_client_ready(m_env.getLocalPlayer());
|
||||
m_script->on_connect();
|
||||
}
|
||||
|
||||
text = wgettext("Done!");
|
||||
draw_load_screen(text, device, guienv, 0, 100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue