From 3976fc8f646432469217e445ede7c329e0f59668 Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Mon, 20 Jun 2022 18:32:54 -0300 Subject: [PATCH] make command cl_reloadlua freely usable --- Barotrauma/BarotraumaClient/ClientSource/DebugConsole.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Barotrauma/BarotraumaClient/ClientSource/DebugConsole.cs b/Barotrauma/BarotraumaClient/ClientSource/DebugConsole.cs index 558f1c4c7..cbcd37100 100644 --- a/Barotrauma/BarotraumaClient/ClientSource/DebugConsole.cs +++ b/Barotrauma/BarotraumaClient/ClientSource/DebugConsole.cs @@ -3289,12 +3289,6 @@ namespace Barotrauma commands.Add(new Command("cl_reloadlua", "reloads lua on the client", (string[] args) => { - if (GameMain.Client != null && !GameMain.Client.HasPermission(ClientPermissions.ConsoleCommands)) - { - ThrowError("Command not permitted."); - return; - } - GameMain.LuaCs.Initialize(); })); }