From 8a44df8cba4153e05cd1b81cf392a03d2f7f57d7 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 1eab94da..8c6ab91b 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