mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Builtin: Fix grayed-out but enabled modpacks
This commit is contained in:
@@ -305,7 +305,7 @@ function pkgmgr.render_packagelist(render_list)
|
|||||||
|
|
||||||
for j = 1, #rawlist, 1 do
|
for j = 1, #rawlist, 1 do
|
||||||
if rawlist[j].modpack == list[i].name and
|
if rawlist[j].modpack == list[i].name and
|
||||||
rawlist[j].enabled ~= true then
|
not rawlist[j].enabled then
|
||||||
-- Modpack not entirely enabled so showing as grey
|
-- Modpack not entirely enabled so showing as grey
|
||||||
color = mt_color_grey
|
color = mt_color_grey
|
||||||
break
|
break
|
||||||
|
Reference in New Issue
Block a user