From 5d3435cbfa79e32600cef684198c404361c6d0ce Mon Sep 17 00:00:00 2001 From: Kahrl Date: Thu, 9 Oct 2014 08:58:47 +0200 Subject: [PATCH] Change topleft text when switching subgames, fixes #1728 --- builtin/mainmenu/tab_singleplayer.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/mainmenu/tab_singleplayer.lua b/builtin/mainmenu/tab_singleplayer.lua index 1eab94d..8c6ab91 100644 --- a/builtin/mainmenu/tab_singleplayer.lua +++ b/builtin/mainmenu/tab_singleplayer.lua @@ -35,6 +35,7 @@ local function singleplayer_refresh_gamebar() for j=1,#gamemgr.games,1 do if ("game_btnbar_" .. gamemgr.games[j].id == key) then mm_texture.update("singleplayer", gamemgr.games[j]) + core.set_topleft_text(gamemgr.games[j].name) core.setting_set("menu_last_game",gamemgr.games[j].id) menudata.worldlist:set_filtercriteria(gamemgr.games[j].id) return true