more inbuilt
This commit is contained in:
@@ -100,6 +100,8 @@ class PluginLoader(Window):
|
||||
sandbox.print = self.log #self.lua_runtime.globals().print
|
||||
sandbox.math = self.lua_runtime.globals().math
|
||||
sandbox.string = self.lua_runtime.globals().string
|
||||
sandbox.tostring = self.lua_runtime.globals().tostring
|
||||
sandbox.tonumber = self.lua_runtime.globals().tonumber
|
||||
sandbox.berry = lua_runtime_stuff
|
||||
|
||||
setfenv(0, sandbox)
|
||||
|
||||
Reference in New Issue
Block a user