Commit c1ddd8fa authored by nanahira's avatar nanahira

temp fix

parent 6cdd6679
...@@ -627,6 +627,9 @@ interpreter::interpreter(duel* pd): coroutines(256) { ...@@ -627,6 +627,9 @@ interpreter::interpreter(duel* pd): coroutines(256) {
lua_pushnil(lua_state); lua_pushnil(lua_state);
lua_setglobal(lua_state, "os"); lua_setglobal(lua_state, "os");
*/ */
//add bit lib back in 2pick - will be reverted
lua_getglobal(lua_state, "bit32");
lua_setglobal(lua_state, "bit");
//open all libs //open all libs
luaL_newlib(lua_state, cardlib); luaL_newlib(lua_state, cardlib);
lua_pushstring(lua_state, "__index"); lua_pushstring(lua_state, "__index");
......
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