From 8966c16ad298f94be1f4542afa6b081a1d286eda Mon Sep 17 00:00:00 2001 From: Kahrl Date: Fri, 23 Aug 2013 12:24:11 +0200 Subject: Add formspec table --- builtin/modmgr.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builtin/modmgr.lua') diff --git a/builtin/modmgr.lua b/builtin/modmgr.lua index 13f81c6e0..f530ccc4a 100644 --- a/builtin/modmgr.lua +++ b/builtin/modmgr.lua @@ -572,7 +572,7 @@ function modmgr.handle_modmgr_buttons(fields) } if fields["modlist"] ~= nil then - local event = explode_textlist_event(fields["modlist"]) + local event = engine.explode_textlist_event(fields["modlist"]) modmgr.selected_mod = event.index end @@ -693,10 +693,10 @@ end -------------------------------------------------------------------------------- function modmgr.handle_configure_world_buttons(fields) if fields["world_config_modlist"] ~= nil then - local event = explode_textlist_event(fields["world_config_modlist"]) + local event = engine.explode_textlist_event(fields["world_config_modlist"]) modmgr.world_config_selected_mod = event.index - if event.typ == "DCL" then + if event.type == "DCL" then modmgr.world_config_enable_mod(nil) end end -- cgit v1.2.3