mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'dev' into debugging-server
This commit is contained in:
commit
5eceed3737
4 changed files with 22 additions and 6 deletions
|
|
@ -105,6 +105,9 @@ void lua::init_state(State* L, StateType stateType) {
|
|||
pushnil(L);
|
||||
setglobal(L, "io");
|
||||
|
||||
createtable(L, 0, 0);
|
||||
setglobal(L, "__vc__pack_envs");
|
||||
|
||||
const char* removed_os[] {
|
||||
"execute", "exit", "remove", "rename", "setlocale", "tmpname", nullptr};
|
||||
remove_lib_funcs(L, "os", removed_os);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue