From: sapier Date: Thu, 24 Apr 2014 17:47:17 +0000 (+0200) Subject: Fix lost pause support in singleplayer X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=885e93df445c65130e46b9bcc815e0b17acedf27;p=zefram%2Fminetest%2Fminetest_engine.git Fix lost pause support in singleplayer --- 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; + } } /******************************************************************************/