forked from Mirrorlandia_minetest/minetest
Fix lost pause support in singleplayer
This commit is contained in:
parent
9b142157b0
commit
885e93df44
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user