From 723bab7fd8fe084cbfc4449f845dd584260d4d84 Mon Sep 17 00:00:00 2001 From: whosit Date: Tue, 25 Mar 2025 00:36:35 +0300 Subject: [PATCH] rename dir2() to keys() --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 0d865ba..8f2cd41 100644 --- a/init.lua +++ b/init.lua @@ -90,7 +90,7 @@ local function create_shared_environment(player_name) dir = function(o) core.chat_send_player(player_name, dump_dir(o)) end, - dir2 = function(o) + keys = function(o) -- collect all keys of the table, no values if type(o) == "table" then local keys = {}