From b8fffad6c8c7cc5f66ad54233bab633c239fea7c Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Wed, 18 Aug 2021 22:56:28 -0300 Subject: [PATCH] firesources --- Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs b/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs index 421c9122e..f50fb1966 100644 --- a/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs +++ b/Barotrauma/BarotraumaServer/ServerSource/Lua/LuaSetup.cs @@ -157,9 +157,10 @@ namespace Barotrauma UserData.RegisterType(); UserData.RegisterType(); UserData.RegisterType(); + UserData.RegisterType(); lua = new Script(CoreModules.Preset_SoftSandbox | CoreModules.LoadMethods); - + lua.Options.DebugPrint = PrintMessage; lua.Options.ScriptLoader = luaScriptLoader;