Restored missing statements in LuaWrapper

This commit is contained in:
SpoinkyNL committed 2016-11-14 12:44:14 +01:00
1 parent 29d1921545
commit 7de83820d2
1 file changed
+2
@@ -99,6 +99,8 @@ namespace Artemis.Profiles.Lua
try
{
LuaScript.Globals.Clear();
LuaScript.Registry.Clear();
LuaScript.Registry.RegisterConstants();
LuaScript.Registry.RegisterCoreModules(CoreModules.Preset_SoftSandbox);
LuaScript.Globals.RegisterConstants();