aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/tab_singleplayer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/mainmenu/tab_singleplayer.lua')
-rw-r--r--builtin/mainmenu/tab_singleplayer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_singleplayer.lua b/builtin/mainmenu/tab_singleplayer.lua
index 916b0c188..a7cf5120c 100644
--- a/builtin/mainmenu/tab_singleplayer.lua
+++ b/builtin/mainmenu/tab_singleplayer.lua
@@ -107,7 +107,7 @@ local function main_button_handler(this, fields, name, tabdata)
local event = core.explode_textlist_event(fields["sp_worlds"])
local selected = core.get_textlist_index("sp_worlds")
- menu_worldmt_legacy()
+ menu_worldmt_legacy(selected)
if event.type == "DCL" then
world_doubleclick = true