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:
parent
93d185ee5d
commit
792e013eaf
7 changed files with 19 additions and 17 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue