mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix enable mod/enable button not shown on entering world config dialog
This commit is contained in:
parent
b3db44f801
commit
4f3bc05a5b
1 changed files with 1 additions and 4 deletions
|
@ -396,10 +396,7 @@ function modmgr.dialog_configure_world()
|
||||||
"button[7.4,6.35;2,0.5;btn_config_world_cancel;Cancel]"
|
"button[7.4,6.35;2,0.5;btn_config_world_cancel;Cancel]"
|
||||||
|
|
||||||
if engine.setting_get("old_style_mod_selection") == "true" then
|
if engine.setting_get("old_style_mod_selection") == "true" then
|
||||||
local selected = engine.get_textlist_index("world_config_modlist")
|
if mod ~= nil and mod.name ~= "" then
|
||||||
local mod = filterlist.get_list(modmgr.modlist)[selected]
|
|
||||||
|
|
||||||
if mod ~= nil then
|
|
||||||
if mod.is_modpack then
|
if mod.is_modpack then
|
||||||
local rawlist = filterlist.get_raw_list(modmgr.modlist)
|
local rawlist = filterlist.get_raw_list(modmgr.modlist)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue