From e205182da6c9572f7f5d6c27eff8e840dcc8fe2e Mon Sep 17 00:00:00 2001 From: Xertis <118364459+Xertis@users.noreply.github.com> Date: Tue, 28 Jan 2025 20:39:00 +0300 Subject: [PATCH] bug fix refresh bug fix --- res/layouts/pages/content.xml.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/layouts/pages/content.xml.lua b/res/layouts/pages/content.xml.lua index 50fbcc655..6e013902b 100644 --- a/res/layouts/pages/content.xml.lua +++ b/res/layouts/pages/content.xml.lua @@ -46,7 +46,9 @@ function reposition_func(_pack) tbl = packs_excluded else tbl = packs_excluded - table.insert(packs_excluded, pack.get_info(_pack)) + local packinfo = pack.get_info(_pack) + packinfo[packinfo.id] = {packinfo.id, packinfo.title} + table.insert(packs_excluded, packinfo.id) end local indx = table.index(tbl, _pack) - 1