diff --git a/src/game.cpp b/src/game.cpp index 58a26e94..2d620514 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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; + } } /******************************************************************************/