diff options
author | sapier <Sapier at GMX dot net> | 2014-04-24 19:47:17 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-04-24 19:47:17 +0200 |
commit | 885e93df445c65130e46b9bcc815e0b17acedf27 (patch) | |
tree | 7a7ce1dbd10052a190f2232295a7b4ff65327368 | |
parent | 9b142157b06a3c81cd69d01c7fabc18247020c88 (diff) | |
download | minetest-885e93df445c65130e46b9bcc815e0b17acedf27.tar.gz minetest-885e93df445c65130e46b9bcc815e0b17acedf27.tar.bz2 minetest-885e93df445c65130e46b9bcc815e0b17acedf27.zip |
Fix lost pause support in singleplayer
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 58a26e943..2d6205140 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; + } } /******************************************************************************/ |