diff options
author | karamel59 <karamel@creativekara.fr> | 2020-08-27 21:47:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 21:47:38 +0200 |
commit | d052593c7ab3c57f83ea250fc10f7c1927962c09 (patch) | |
tree | 0f58fa54a303988ddc183437672bdda5dead51af /src | |
parent | 788f29759565f1eb35fb2189a79a6b2a41e1eb73 (diff) | |
download | minetest-d052593c7ab3c57f83ea250fc10f7c1927962c09.tar.gz minetest-d052593c7ab3c57f83ea250fc10f7c1927962c09.tar.bz2 minetest-d052593c7ab3c57f83ea250fc10f7c1927962c09.zip |
Lua API: Register missing get_texture_mod function (#10338)
Diffstat (limited to 'src')
-rw-r--r-- | src/script/lua_api/l_object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 495d8bced..24667e769 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -2299,6 +2299,7 @@ luaL_Reg ObjectRef::methods[] = { luamethod(ObjectRef, set_rotation), luamethod(ObjectRef, get_rotation), luamethod_aliased(ObjectRef, set_texture_mod, settexturemod), + luamethod(ObjectRef, get_texture_mod), luamethod_aliased(ObjectRef, set_sprite, setsprite), luamethod(ObjectRef, get_entity_name), luamethod(ObjectRef, get_luaentity), |