1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

don't pass g_settings around, and use it directly

This commit is contained in:
Esteban I. RM
2017-10-15 21:22:22 -03:00
committed by Loic Blot
parent 93d185ee5d
commit 792e013eaf
7 changed files with 19 additions and 17 deletions

View File

@@ -2051,8 +2051,8 @@ 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);
// Make sure the size of the recent messages buffer is right
chat_backend->applySettings();
// Chat backend and console
gui_chat_console = new GUIChatConsole(guienv, guienv->getRootGUIElement(),