diff options
Diffstat (limited to 'src/scriptapi.h')
-rw-r--r-- | src/scriptapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h index 33b795415..d107b15ce 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -34,6 +34,8 @@ struct PointedThing; class ServerRemotePlayer; void scriptapi_export(lua_State *L, Server *server); +bool scriptapi_loadmod(lua_State *L, const std::string &scriptpath, + const std::string &modname); void scriptapi_add_environment(lua_State *L, ServerEnvironment *env); void scriptapi_add_object_reference(lua_State *L, ServerActiveObject *cobj); |