Skip to content

Commit

Permalink
game.cpp: add missing .get() back
Browse files Browse the repository at this point in the history
  • Loading branch information
chmodsayshello committed Oct 13, 2024
1 parent c4bf5d0 commit dd228df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dd228df

Please sign in to comment.