mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -1701,6 +1701,8 @@ void Game::shutdown()
|
||||||
driver->setRenderTarget(irr::video::ERT_STEREO_BOTH_BUFFERS);
|
driver->setRenderTarget(irr::video::ERT_STEREO_BOTH_BUFFERS);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (current_formspec)
|
||||||
|
current_formspec->quitMenu();
|
||||||
|
|
||||||
showOverlayMessage(wgettext("Shutting down..."), 0, 0, false);
|
showOverlayMessage(wgettext("Shutting down..."), 0, 0, false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue