aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-25 19:29:11 +0200
committersfan5 <sfan5@live.de>2022-05-29 14:00:19 +0200
commitf195db2d140a7b4f2f2fbc438680c9d5e23a0d6d (patch)
treeaf2e07480ea04277ed2a8d16af42e9e86526f8fe /src/script/lua_api/l_object.h
parentda71e86633d0b27cd02d7aac9fdac625d141ca13 (diff)
downloadminetest-f195db2d140a7b4f2f2fbc438680c9d5e23a0d6d.tar.gz
minetest-f195db2d140a7b4f2f2fbc438680c9d5e23a0d6d.tar.bz2
minetest-f195db2d140a7b4f2f2fbc438680c9d5e23a0d6d.zip
Add API function to invoke player respawn
closes #12272
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index 3e4e6681a..b36bab492 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -382,4 +382,7 @@ private:
// get_lighting(self)
static int l_get_lighting(lua_State *L);
+
+ // respawn(self)
+ static int l_respawn(lua_State *L);
};