Restored missing statements in LuaWrapper

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