aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaramel59 <karamel@creativekara.fr>2020-08-27 21:47:38 +0200
committerGitHub <noreply@github.com>2020-08-27 21:47:38 +0200
commitd052593c7ab3c57f83ea250fc10f7c1927962c09 (patch)
tree0f58fa54a303988ddc183437672bdda5dead51af
parent788f29759565f1eb35fb2189a79a6b2a41e1eb73 (diff)
downloadminetest-d052593c7ab3c57f83ea250fc10f7c1927962c09.tar.gz
minetest-d052593c7ab3c57f83ea250fc10f7c1927962c09.tar.bz2
minetest-d052593c7ab3c57f83ea250fc10f7c1927962c09.zip
Lua API: Register missing get_texture_mod function (#10338)
-rw-r--r--src/script/lua_api/l_object.cpp1
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),