From dcf15f90e75e127e76e59b431cfc22755f57681a Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 8 Apr 2025 01:07:56 +0400 Subject: feat: open default table lua library --- bot/src/commands/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src/commands/command.cpp') diff --git a/bot/src/commands/command.cpp b/bot/src/commands/command.cpp index 6d3010e..e29b8bf 100644 --- a/bot/src/commands/command.cpp +++ b/bot/src/commands/command.cpp @@ -53,7 +53,7 @@ namespace bot { this->luaState = std::make_shared(); this->luaState->open_libraries(sol::lib::base, sol::lib::string, - sol::lib::math); + sol::lib::table, sol::lib::math); lua::library::add_base_libraries(this->luaState); } -- cgit v1.2.3