aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-02-09 21:32:39 +0100
committerSmallJoker <mk939@ymail.com>2019-02-09 21:54:39 +0100
commita809f7361e8a7232b3c9ec241be5adcae96b3b2d (patch)
tree1a543b15b5c0cc63a69afa5808310e0073077825 /builtin/mainmenu
parent6d6a813614360e0677b0da4108cc00b20657634f (diff)
downloadminetest-a809f7361e8a7232b3c9ec241be5adcae96b3b2d.tar.gz
minetest-a809f7361e8a7232b3c9ec241be5adcae96b3b2d.tar.bz2
minetest-a809f7361e8a7232b3c9ec241be5adcae96b3b2d.zip
Builtin: Fix grayed-out but enabled modpacks
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r--builtin/mainmenu/pkgmgr.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua
index d85092457..60a496093 100644
--- a/builtin/mainmenu/pkgmgr.lua
+++ b/builtin/mainmenu/pkgmgr.lua
@@ -305,7 +305,7 @@ function pkgmgr.render_packagelist(render_list)
for j = 1, #rawlist, 1 do
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
color = mt_color_grey
break