Make the console escape key handling support the fonticon autocomplete
This commit is contained in:
parent
93d28c3644
commit
256c96d413
@ -413,6 +413,9 @@ namespace Components
|
||||
if (Game::Con_CancelAutoComplete())
|
||||
return;
|
||||
|
||||
if (TextRenderer::HandleFontIconAutocompleteKey(0, TextRenderer::FONT_ICON_ACI_CONSOLE, Game::K_ESCAPE))
|
||||
return;
|
||||
|
||||
// Close console
|
||||
Game::Key_RemoveCatcher(0, ~Game::KEYCATCH_CONSOLE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user