mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 07:11:16 +00:00
Fix cmake build + disable "unsafe" Lua package table
This commit is contained in:
parent
86d2fcebda
commit
8b0ccb2ee4
2 changed files with 8 additions and 2 deletions
|
@ -10682,6 +10682,8 @@ lua_State *ScriptInterface::createLuaVM()
|
|||
lua_setglobal(state, "os");
|
||||
lua_pushnil(state);
|
||||
lua_setglobal(state, "io");
|
||||
lua_pushnil(state);
|
||||
lua_setglobal(state, "package");
|
||||
}
|
||||
|
||||
// Set up various tables for state management:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue