From d64425ade84f0016d6da476c999a8b9d01808391 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Thu, 2 Jan 2020 18:48:49 -0600 Subject: [PATCH] Carefully: override don't show in help --- fac_chat/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fac_chat/init.lua b/fac_chat/init.lua index bbc897f..7fdd06f 100644 --- a/fac_chat/init.lua +++ b/fac_chat/init.lua @@ -131,7 +131,7 @@ function factions.register_command(cmd_name, cmd) register_command(cmd_name, cmd) elseif cmd_type == "table" then for k, v in pairs(cmd_name) do - if next then + if next and cmd.dont_show_in_help == nil then cmd.dont_show_in_help = true end register_command(v, cmd)