From d85f19944c7c97fd0db8a0eae889338ac8a574d9 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:39:54 +0100 Subject: [PATCH] chat_command_god_mode 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_god_mode.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_god_mode.gsc b/chat_commands/chat_command_god_mode.gsc index 93924d8..c9c2807 100644 --- a/chat_commands/chat_command_god_mode.gsc +++ b/chat_commands/chat_command_god_mode.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(level.commands_servers_ports, "god", "function", ::GodModeCommand, ["default_help_one_player"]); + CreateCommand(level.chat_commands["ports"], "god", "function", ::GodModeCommand, 3, ["default_help_one_player"]); }