forked from Mirrorlandia_minetest/minetest
Close formspec on client shutdown. (#5811)
This ensures the shutting down progress bar is correctly rendered. This fixes #3050.
This commit is contained in:
parent
099624a513
commit
2f291e6685
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user