mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
optimize content-packs related pages
This commit is contained in:
parent
af592b6e7d
commit
9ef7e8e6a6
2 changed files with 10 additions and 3 deletions
|
|
@ -247,8 +247,9 @@ function refresh()
|
|||
local contents = document.contents
|
||||
contents:clear()
|
||||
|
||||
local packinfos = pack.get_info(packs_installed)
|
||||
for i, id in ipairs(packs_installed) do
|
||||
local packinfo = pack.get_info(id)
|
||||
local packinfo = packinfos[id]
|
||||
|
||||
packinfo.id = id
|
||||
packs_installed[i] = {packinfo.id, packinfo.title}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue