aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <24834740+GreenXenith@users.noreply.github.com>2022-04-24 14:49:07 -0700
committerGitHub <noreply@github.com>2022-04-24 22:49:07 +0100
commita6170963b8ce5fee97326d639f6660f5097f78c9 (patch)
treeddba8072b9f2b2fedba576905e6ef767a9a6e6bc
parent77325b92fbe8235b5c2d8d1261ecd53e3385bab2 (diff)
downloadminetest-a6170963b8ce5fee97326d639f6660f5097f78c9.tar.gz
minetest-a6170963b8ce5fee97326d639f6660f5097f78c9.tar.bz2
minetest-a6170963b8ce5fee97326d639f6660f5097f78c9.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]"