]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Fix invalid queued package element and path (#12218)
authorAlex <24834740+GreenXenith@users.noreply.github.com>
Sun, 24 Apr 2022 21:49:07 +0000 (14:49 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 21:49:07 +0000 (22:49 +0100)
builtin/mainmenu/dlg_contentstore.lua

index 9db67cf572c25ed449d6e5635645a2e728c00ea0..0127d600c1613ff735f31ea3fa9f6d72239f422b 100644 (file)
@@ -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]"