Skip to content
Snippets Groups Projects
Commit 4f3bc05a authored by sapier's avatar sapier Committed by PilzAdam
Browse files

Fix enable mod/enable button not shown on entering world config dialog

parent b3db44f8
No related branches found
No related tags found
No related merge requests found
......@@ -396,10 +396,7 @@ function modmgr.dialog_configure_world()
"button[7.4,6.35;2,0.5;btn_config_world_cancel;Cancel]"
if engine.setting_get("old_style_mod_selection") == "true" then
local selected = engine.get_textlist_index("world_config_modlist")
local mod = filterlist.get_list(modmgr.modlist)[selected]
if mod ~= nil then
if mod ~= nil and mod.name ~= "" then
if mod.is_modpack then
local rawlist = filterlist.get_raw_list(modmgr.modlist)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment