Skip to content
Permalink
Browse files

Android: Re-add button to remove singleplayer world

Fixes #4120.
  • Loading branch information
est31 committed May 14, 2016
1 parent b25554c commit c65e7a9b3edbd1f42e7478acdb02252e3c2237ec
Showing with 5 additions and 1 deletion.
  1. +5 −1 builtin/mainmenu/tab_settings.lua
@@ -203,7 +203,11 @@ local function formspec(tabview, name, tabdata)
"checkbox[8,0;cb_shaders;" .. fgettext("Shaders") .. ";"
.. dump(core.setting_getbool("enable_shaders")) .. "]"

if PLATFORM ~= "Android" then
if PLATFORM == "Android" then
tab_string = tab_string ..
"button[8,4.75;3.75,0.5;btn_reset_singleplayer;"
.. fgettext("Reset singleplayer world") .. "]"
else
tab_string = tab_string ..
"button[8,4.75;3.75,0.5;btn_change_keys;"
.. fgettext("Change keys") .. "]"

0 comments on commit c65e7a9

Please sign in to comment.
You can’t perform that action at this time.