1
0
Fork 0
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:
fgenesis 2014-05-30 22:51:12 +02:00
commit 8b0ccb2ee4
2 changed files with 8 additions and 2 deletions

View file

@ -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: