Skip to content

Commit

Permalink
Fix lost pause support in singleplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Apr 24, 2014
1 parent 9b14215 commit 885e93d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game.cpp
Expand Up @@ -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;
}
}

/******************************************************************************/
Expand Down

0 comments on commit 885e93d

Please sign in to comment.