mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix invalid queued package element and path (#12218)
This commit is contained in:
parent
77325b92fb
commit
a6170963b8
1 changed files with 1 additions and 2 deletions
|
@ -862,8 +862,7 @@ function store.get_formspec(dlgdata)
|
||||||
formspec[#formspec + 1] = "cdb_downloading.png;3;400;]"
|
formspec[#formspec + 1] = "cdb_downloading.png;3;400;]"
|
||||||
elseif package.queued then
|
elseif package.queued then
|
||||||
formspec[#formspec + 1] = left_base
|
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
|
elseif not package.path then
|
||||||
local elem_name = "install_" .. i .. ";"
|
local elem_name = "install_" .. i .. ";"
|
||||||
formspec[#formspec + 1] = "style[" .. elem_name .. "bgcolor=#71aa34]"
|
formspec[#formspec + 1] = "style[" .. elem_name .. "bgcolor=#71aa34]"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue