projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099624a
)
Close formspec on client shutdown. (#5811)
author
red-001
<red-001@outlook.ie>
Thu, 25 May 2017 10:46:24 +0000
(11:46 +0100)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Thu, 25 May 2017 10:46:24 +0000
(12:46 +0200)
This ensures the shutting down progress bar is correctly rendered. This fixes #3050.
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 1ddf07fd114ea73c5bb5df25a9dd0bd7738797bb..ff473e022922541b32164cc744184855a0cef39b 100644
(file)
--- a/
src/game.cpp
+++ b/
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);