aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-05-09 17:30:34 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2017-05-09 18:30:34 +0200
commit34c52d0ad76f627c719adc8806ca71c4968b8b39 (patch)
treedc26561cc273614af7017e37ae05345ccf0b64d0 /builtin/mainmenu
parent8729e7daec0c8fede3af1e4aaa235a6cd4b73cb1 (diff)
downloadminetest-34c52d0ad76f627c719adc8806ca71c4968b8b39.tar.gz
minetest-34c52d0ad76f627c719adc8806ca71c4968b8b39.tar.bz2
minetest-34c52d0ad76f627c719adc8806ca71c4968b8b39.zip
Android: Fix crash while loading main menu (#5736)
Broken by 43d1f37
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r--builtin/mainmenu/tab_simple_main.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/mainmenu/tab_simple_main.lua b/builtin/mainmenu/tab_simple_main.lua
index 90a743f68..de4ae1751 100644
--- a/builtin/mainmenu/tab_simple_main.lua
+++ b/builtin/mainmenu/tab_simple_main.lua
@@ -188,6 +188,10 @@ local function main_button_handler(tabview, fields, name, tabdata)
core.settings:set("address", fields.te_address)
core.settings:set("remote_port", fields.te_port)
+
+ core.start()
+ return true
+ end
if fields.btn_config_sp_world then
local configdialog = create_configure_world_dlg(1)