Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Android: Re-add button to remove singleplayer world
Fixes #4120.
  • Loading branch information
est31 committed May 14, 2016
1 parent b25554c commit c65e7a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion builtin/mainmenu/tab_settings.lua
Expand Up @@ -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") .. "]"
Expand Down

0 comments on commit c65e7a9

Please sign in to comment.