Change topleft text when switching subgames, fixes #1728

This commit is contained in:
Kahrl 2014-10-09 08:58:47 +02:00 committed by Nils Dagsson Moskopp
parent 2a038ee038
commit 5d3435cbfa
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 0 deletions

View File

@ -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