Carefully: override don't show in help
This commit is contained in:
parent
ae09c39950
commit
d64425ade8
@ -131,7 +131,7 @@ function factions.register_command(cmd_name, cmd)
|
|||||||
register_command(cmd_name, cmd)
|
register_command(cmd_name, cmd)
|
||||||
elseif cmd_type == "table" then
|
elseif cmd_type == "table" then
|
||||||
for k, v in pairs(cmd_name) do
|
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
|
cmd.dont_show_in_help = true
|
||||||
end
|
end
|
||||||
register_command(v, cmd)
|
register_command(v, cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user