aboutsummaryrefslogtreecommitdiff
path: root/builtin/modmgr.lua
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-08-23 12:24:11 +0200
committerShadowNinja <shadowninja@minetest.net>2014-01-13 18:11:08 -0500
commit8966c16ad298f94be1f4542afa6b081a1d286eda (patch)
tree00e50224528a7f0bbb46cb05d81177f5e8086c41 /builtin/modmgr.lua
parent2b1eff772524fca8249fd64028e5cbfeabc127a0 (diff)
downloadminetest-8966c16ad298f94be1f4542afa6b081a1d286eda.tar.gz
minetest-8966c16ad298f94be1f4542afa6b081a1d286eda.tar.bz2
minetest-8966c16ad298f94be1f4542afa6b081a1d286eda.zip
Add formspec table
Diffstat (limited to 'builtin/modmgr.lua')
-rw-r--r--builtin/modmgr.lua6
1 files changed, 3 insertions, 3 deletions
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