diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-08 01:07:56 +0400 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-08 01:07:56 +0400 |
| commit | dcf15f90e75e127e76e59b431cfc22755f57681a (patch) | |
| tree | 0ff63b92260329de1d4cf12db29b7711f182e3fc /bot/src/commands | |
| parent | b25877f1bb26cf44ed5527f2f21af5734aa99052 (diff) | |
feat: open default table lua library
Diffstat (limited to 'bot/src/commands')
| -rw-r--r-- | bot/src/commands/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<sol::state>(); 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); } |
