This commit is contained in:
MihailRis
2024-05-04 16:45:26 +03:00
parent 7c5e15fade
commit 5402872c28
2 changed files with 23 additions and 11 deletions
+3
View File
@@ -63,6 +63,9 @@ static int l_pack_get_available(lua_State* L) {
static int l_pack_get_info(lua_State* L, const ContentPack& pack, const Content* content) {
lua_createtable(L, 0, 5);
lua_pushstring(L, pack.id.c_str());
lua_setfield(L, -2, "id");
lua_pushstring(L, pack.title.c_str());
lua_setfield(L, -2, "title");