From 5a09bd989c5f4c3fb0d5b0e29ed4e5c055d572f9 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:40:25 +0100 Subject: [PATCH] chat_command_invisible 1.0.1 Added permission level to CreateCommand following chat_commands 1.3.0 update [Refactor] changed level scoped ports variable following chat_commands 1.3.0 update --- chat_commands/chat_command_invisible.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_invisible.gsc b/chat_commands/chat_command_invisible.gsc index 0775119..5619e9e 100644 --- a/chat_commands/chat_command_invisible.gsc +++ b/chat_commands/chat_command_invisible.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(level.commands_servers_ports, "invisible", "function", ::InvisibleCommand, ["default_help_one_player"]); + CreateCommand(level.chat_commands["ports"], "invisible", "function", ::InvisibleCommand, 3, ["default_help_one_player"]); }