From fd6ff8805fbbcecf3b567e4d2833c7b87e086998 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:42:39 +0100 Subject: [PATCH] chat_command_teleport 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_teleport.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat_commands/chat_command_teleport.gsc b/chat_commands/chat_command_teleport.gsc index fdf32a0..7d72913 100644 --- a/chat_commands/chat_command_teleport.gsc +++ b/chat_commands/chat_command_teleport.gsc @@ -2,7 +2,7 @@ Init() { - CreateCommand(level.commands_servers_ports, "teleport", "function", ::TeleportCommand, ["default_help_two_players"]); + CreateCommand(level.chat_commands["ports"], "teleport", "function", ::TeleportCommand, 2, ["default_help_two_players"]); }