diff options
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/src/commands/lua.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/src/commands/lua.cpp b/bot/src/commands/lua.cpp index 748a75e..783b48b 100644 --- a/bot/src/commands/lua.cpp +++ b/bot/src/commands/lua.cpp @@ -144,7 +144,7 @@ namespace bot::command::lua { sol::table a = state->create_table(); for (int i = 0; i < j.size(); ++i) { - a[i] = parse_json_object(state, j[i]); + a[i + 1] = parse_json_object(state, j[i]); } return sol::make_object(*state, a); |
