Skip to content
Permalink
Browse files

Fix lost pause support in singleplayer

  • Loading branch information...
sapier sapier
sapier authored and sapier committed Apr 24, 2014
1 parent 9b14215 commit 885e93df445c65130e46b9bcc815e0b17acedf27
Showing with 4 additions and 0 deletions.
  1. +4 −0 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;
}
}

/******************************************************************************/

0 comments on commit 885e93d

Please sign in to comment.
You can’t perform that action at this time.