game.cpp: add missing .get() back

This commit is contained in:
chmodsayshello 2024-10-13 19:40:08 +02:00
parent c4bf5d0678
commit dd228df291

View File

@ -2081,7 +2081,7 @@ void Game::processUserInput(f32 dtime)
m_game_focused = true;
}
if (!guienv->hasFocus(gui_chat_console) && gui_chat_console->isOpen()
if (!guienv->hasFocus(gui_chat_console.get()) && gui_chat_console->isOpen()
&& !gui_chat_console->isMyChild(guienv->getFocus()))
{
gui_chat_console->closeConsoleAtOnce();