mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix
This commit is contained in:
parent
7c5e15fade
commit
5402872c28
2 changed files with 23 additions and 11 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue