1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 23:58:48 -05:00

Fix lost pause support in singleplayer

This commit is contained in:
sapier 2014-04-24 19:47:17 +02:00
parent 9b142157b0
commit 885e93df44

View File

@ -1077,6 +1077,10 @@ 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);
if (singleplayermode) {
(*cur_formspec)->doPause = true;
}
}
/******************************************************************************/