Skip to content

Commit c65e7a9

Browse files
committedMay 14, 2016
Android: Re-add button to remove singleplayer world
Fixes #4120.
1 parent b25554c commit c65e7a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎builtin/mainmenu/tab_settings.lua

+5-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,11 @@ local function formspec(tabview, name, tabdata)
203203
"checkbox[8,0;cb_shaders;" .. fgettext("Shaders") .. ";"
204204
.. dump(core.setting_getbool("enable_shaders")) .. "]"
205205

206-
if PLATFORM ~= "Android" then
206+
if PLATFORM == "Android" then
207+
tab_string = tab_string ..
208+
"button[8,4.75;3.75,0.5;btn_reset_singleplayer;"
209+
.. fgettext("Reset singleplayer world") .. "]"
210+
else
207211
tab_string = tab_string ..
208212
"button[8,4.75;3.75,0.5;btn_change_keys;"
209213
.. fgettext("Change keys") .. "]"

0 commit comments

Comments
 (0)