1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix Exit to OS button focus in Pause Menu

This commit is contained in:
ngosang 2015-01-27 01:17:04 +01:00 committed by Craig Robbins
parent a704c04f00
commit dd2bb950be
3 changed files with 15 additions and 4 deletions

View file

@ -1157,7 +1157,7 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec,
LocalFormspecHandler *txt_dst = new LocalFormspecHandler("MT_PAUSE_MENU");
create_formspec_menu(cur_formspec, invmgr, gamedef, tsrc, device, fs_src, txt_dst, NULL);
(*cur_formspec)->setFocus(L"btn_continue");
(*cur_formspec)->doPause = true;
}