Commit d71e1ea4 authored by nanahira's avatar nanahira

use no lua safe

parent a526c585
......@@ -23,7 +23,7 @@ interpreter::interpreter(duel* pd): coroutines(256) {
disable_action_check = 0;
//Initial
luaL_openlibs(lua_state);
#ifdef YGOPRO_LUA_SAFE
#ifndef YGOPRO_NO_LUA_SAFE
lua_pushnil(lua_state);
lua_setglobal(lua_state, "io");
lua_pushnil(lua_state);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment