game.cpp: add missing .get() back
This commit is contained in:
parent
c4bf5d0678
commit
dd228df291
@ -2081,7 +2081,7 @@ void Game::processUserInput(f32 dtime)
|
|||||||
m_game_focused = true;
|
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->isMyChild(guienv->getFocus()))
|
||||||
{
|
{
|
||||||
gui_chat_console->closeConsoleAtOnce();
|
gui_chat_console->closeConsoleAtOnce();
|
||||||
|
Loading…
Reference in New Issue
Block a user