From f195db2d140a7b4f2f2fbc438680c9d5e23a0d6d Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 25 May 2022 19:29:11 +0200 Subject: Add API function to invoke player respawn closes #12272 --- src/script/lua_api/l_object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_object.h') 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); }; -- cgit v1.2.3