From 097cb59b6d4aa48aa2093a3cbc25565b113a41a3 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sun, 22 Mar 2026 01:00:41 +0300 Subject: [PATCH] fix: incorrect packs count in world creation menu --- res/layouts/pages/content.xml.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/layouts/pages/content.xml.lua b/res/layouts/pages/content.xml.lua index e77141cc4..2937542f4 100644 --- a/res/layouts/pages/content.xml.lua +++ b/res/layouts/pages/content.xml.lua @@ -30,10 +30,10 @@ end function apply() time.post_runnable(function () app.reconfig_packs(add_packs, rem_packs) + if mode ~= "world" then + menu:back() + end end) - if mode ~= "world" then - menu:back() - end end function reposition_func(_pack)