projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6a813
)
Builtin: Fix grayed-out but enabled modpacks
author
SmallJoker
<mk939@ymail.com>
Sat, 9 Feb 2019 20:32:39 +0000
(21:32 +0100)
committer
SmallJoker
<mk939@ymail.com>
Sat, 9 Feb 2019 20:54:39 +0000
(21:54 +0100)
builtin/mainmenu/pkgmgr.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu/pkgmgr.lua
b/builtin/mainmenu/pkgmgr.lua
index d85092457dd6f83d7e993bda23afa414b8a61076..60a4960937a6bc33e71c7bd09ff1384d03e46849 100644
(file)
--- 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