diff options
author | Kahrl <kahrl@gmx.net> | 2014-10-09 08:58:47 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2014-10-09 08:58:47 +0200 |
commit | 8a44df8cba4153e05cd1b81cf392a03d2f7f57d7 (patch) | |
tree | f7d03b4e447707e05e32dbe87df7767399b094ef /builtin/mainmenu | |
parent | 914f850d31009d9f10ca5840c153a61f43508b4d (diff) | |
download | minetest-8a44df8cba4153e05cd1b81cf392a03d2f7f57d7.tar.gz minetest-8a44df8cba4153e05cd1b81cf392a03d2f7f57d7.tar.bz2 minetest-8a44df8cba4153e05cd1b81cf392a03d2f7f57d7.zip |
Change topleft text when switching subgames, fixes #1728
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r-- | builtin/mainmenu/tab_singleplayer.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/mainmenu/tab_singleplayer.lua b/builtin/mainmenu/tab_singleplayer.lua index 1eab94da3..8c6ab91bb 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 |