summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 3a3e33cfd..246525f62 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -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);