From 885e93df445c65130e46b9bcc815e0b17acedf27 Mon Sep 17 00:00:00 2001 From: sapier Date: Thu, 24 Apr 2014 19:47:17 +0200 Subject: [PATCH] Fix lost pause support in singleplayer --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; + } } /******************************************************************************/ -- 2.30.2