diff --git a/src/luaapi.c b/src/luaapi.c index 640f608..0ccf219 100644 --- a/src/luaapi.c +++ b/src/luaapi.c @@ -1210,6 +1210,7 @@ static bool initLua(tic_mem* tic, const char* code) { LUA_TABLIBNAME, luaopen_table }, { LUA_STRLIBNAME, luaopen_string }, { LUA_MATHLIBNAME, luaopen_math }, + { LUA_DBLIBNAME, luaopen_debug }, { NULL, NULL } }; @@ -1569,4 +1570,4 @@ static const tic_script_config MoonSyntaxConfig = const tic_script_config* getMoonScriptConfig() { return &MoonSyntaxConfig; -} \ No newline at end of file +}