Load bit32 Lua library

This commit is contained in:
ROllerozxa 2023-04-18 21:54:10 +02:00
commit e57729620d

View file

@ -3937,6 +3937,7 @@ escript::init()
this->L->userdata = (void*)this;
luaopen_base(this->L);
lua_pop(this->L, 1);
luaL_requiref(this->L, "math", luaopen_math, 1);
lua_pop(this->L, 1);
@ -3946,6 +3947,9 @@ escript::init()
luaL_requiref(this->L, "table", luaopen_table, 1);
lua_pop(this->L, 1);
luaL_requiref(this->L, "bit32", luaopen_bit32, 1);
lua_pop(this->L, 1);
register_world(this->L);
register_game(this->L);