Skip to content
Permalink
Browse files

Close formspec on client shutdown. (#5811)

This ensures the shutting down progress bar is correctly rendered. This fixes #3050.
  • Loading branch information...
red-001 authored and nerzhul committed May 25, 2017
1 parent 099624a commit 2f291e6685e8d1866184460d547d089b5b3125fd
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/game.cpp
@@ -1701,6 +1701,8 @@ void Game::shutdown()
driver->setRenderTarget(irr::video::ERT_STEREO_BOTH_BUFFERS);
}
#endif
if (current_formspec)
current_formspec->quitMenu();

showOverlayMessage(wgettext("Shutting down..."), 0, 0, false);

0 comments on commit 2f291e6

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