diff options
Diffstat (limited to 'src/script/scripting_client.cpp')
-rw-r--r-- | src/script/scripting_client.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/script/scripting_client.cpp b/src/script/scripting_client.cpp index 29836c47b..14cdc199b 100644 --- a/src/script/scripting_client.cpp +++ b/src/script/scripting_client.cpp @@ -33,10 +33,10 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_localplayer.h" #include "lua_api/l_camera.h" -ClientScripting::ClientScripting(Client *client) +ClientScripting::ClientScripting(Client *client): + ScriptApiBase(ScriptingType::Client) { setGameDef(client); - setType(ScriptingType::Client); SCRIPTAPI_PRECHECKHEADER @@ -59,9 +59,6 @@ ClientScripting::ClientScripting(Client *client) lua_pushstring(L, "client"); lua_setglobal(L, "INIT"); - lua_pushstring(L, "/"); - lua_setglobal(L, "DIR_DELIM"); - infostream << "SCRIPTAPI: Initialized client game modules" << std::endl; } |