Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix enable mod/enable button not shown on entering world config dialog
  • Loading branch information
sapier authored and PilzAdam committed Jul 22, 2013
1 parent b3db44f commit 4f3bc05
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions builtin/modmgr.lua
Expand Up @@ -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)

Expand Down

0 comments on commit 4f3bc05

Please sign in to comment.