aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <24834740+GreenXenith@users.noreply.github.com>2022-04-24 14:49:07 -0700
committersfan5 <sfan5@live.de>2022-05-14 18:33:42 +0200
commitbeea8deeb510dbdf51331915c1305898fd3eba4a (patch)
treee5289e68ee949747d051fa5214e614b47d095a16
parent0d0f1a2fb25fbfef8e0a1d42028257736fd80146 (diff)
downloadminetest-beea8deeb510dbdf51331915c1305898fd3eba4a.tar.gz
minetest-beea8deeb510dbdf51331915c1305898fd3eba4a.tar.bz2
minetest-beea8deeb510dbdf51331915c1305898fd3eba4a.zip
Fix invalid queued package element and path (#12218)
-rw-r--r--builtin/mainmenu/dlg_contentstore.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua
index 9db67cf57..0127d600c 100644
--- a/builtin/mainmenu/dlg_contentstore.lua
+++ b/builtin/mainmenu/dlg_contentstore.lua
@@ -862,8 +862,7 @@ function store.get_formspec(dlgdata)
formspec[#formspec + 1] = "cdb_downloading.png;3;400;]"
elseif package.queued then
formspec[#formspec + 1] = left_base
- formspec[#formspec + 1] = core.formspec_escape(defaulttexturedir)
- formspec[#formspec + 1] = "cdb_queued.png;queued]"
+ formspec[#formspec + 1] = "cdb_queued.png;queued;]"
elseif not package.path then
local elem_name = "install_" .. i .. ";"
formspec[#formspec + 1] = "style[" .. elem_name .. "bgcolor=#71aa34]"