lua: enabling string lib
This commit is contained in:
parent
d8b3712817
commit
f4297bafe6
|
@ -141,6 +141,7 @@ static int lua_setTickRate(lua_State* l) {
|
|||
static void loadLibraries(LuaHandle& ls) {
|
||||
constexpr luaL_Reg libs[] = {
|
||||
{ LUA_GNAME, luaopen_base },
|
||||
{ LUA_STRLIBNAME, luaopen_string },
|
||||
{ LUA_MATHLIBNAME, luaopen_math },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue