diff --git a/Map Server/Lua/LuaEngine.cs b/Map Server/Lua/LuaEngine.cs index d3d252ae..25648c98 100644 --- a/Map Server/Lua/LuaEngine.cs +++ b/Map Server/Lua/LuaEngine.cs @@ -65,9 +65,8 @@ namespace Meteor.Map.lua luaTimer = new Timer(new TimerCallback(PulseSleepingOnTime), null, TimeSpan.Zero, TimeSpan.FromMilliseconds(50)); - UserData.RegistrationPolicy = InteropRegistrationPolicy.Automatic; - - /* + //UserData.RegistrationPolicy = InteropRegistrationPolicy.Automatic; + UserData.RegisterType(); UserData.RegisterType(); UserData.RegisterType(); @@ -80,8 +79,7 @@ namespace Meteor.Map.lua UserData.RegisterType(); UserData.RegisterType(); UserData.RegisterType(); - UserData.RegisterType(); - */ + UserData.RegisterType(); } public static LuaEngine GetInstance()