1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
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(),