aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorEsteban I. RM <me@exio4.xyz>2017-10-15 20:28:42 -0300
committerLoic Blot <loic.blot@unix-experience.fr>2017-10-17 19:21:32 +0200
commit0e8ee84d7477416dce4ad0d3fdde893676a9df6f (patch)
treef9361f25bf87cd38d52882f01b52963f0a90d4f7 /src/game.cpp
parent46f7fe91a2d404397115c3b970fa3b73f006519d (diff)
downloadminetest-0e8ee84d7477416dce4ad0d3fdde893676a9df6f.tar.xz
Implement #6096
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 8da789a9e..7f717cb5f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2051,6 +2051,9 @@ bool Game::initGui()
// Remove stale "recent" chat messages from previous connections
chat_backend->clearRecentChat();
+ // Make sure the size of the recent messages buffer is right
+ chat_backend->applySettings(g_settings);
+
// Chat backend and console
gui_chat_console = new GUIChatConsole(guienv, guienv->getRootGUIElement(),
-1, chat_backend, client, &g_menumgr);