From 6fff9875da61c80753dfdfcb57fcd5b7d5486deb Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Fri, 3 Sep 2021 15:10:38 -0300 Subject: [PATCH] clientpermissions enum --- Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs b/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs index 6c49d2173..72b943c60 100644 --- a/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs +++ b/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs @@ -207,6 +207,7 @@ namespace Barotrauma UserData.RegisterType(); UserData.RegisterType>(); UserData.RegisterType(); + UserData.RegisterType(); lua = new Script(CoreModules.Preset_SoftSandbox); @@ -259,6 +260,7 @@ namespace Barotrauma lua.Globals["InvSlotType"] = UserData.CreateStatic(); lua.Globals["Gap"] = UserData.CreateStatic(); lua.Globals["ContentPackage"] = UserData.CreateStatic(); + lua.Globals["ClientPermissions"] = UserData.CreateStatic(); List modulePaths = new List();