From 6a43b3af09944f1d218b20be034ccb9e6ea073ff Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 4 Oct 2014 19:23:15 +0200 Subject: Add minetest.copy_table(table) To get rid off the "table references" Signed-off-by: Craig Robbins --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e4a016b1a..f51d215ed 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1310,6 +1310,8 @@ minetest.is_yes(arg) ^ returns whether arg can be interpreted as yes minetest.get_us_time() ^ returns time with microsecond precision +table.copy(table) -> table +^ returns a deep copy of a table minetest namespace reference ----------------------------- -- cgit v1.2.3