From b175d6d95f850dd5533c592ba5fa88ce9330d008 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Fri, 22 Apr 2022 21:34:54 +0400 Subject: [PATCH] engine: client: fixed forced text input turn off in Key_EnableTextInput --- engine/client/keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/keys.c b/engine/client/keys.c index fce03218..97b2e629 100644 --- a/engine/client/keys.c +++ b/engine/client/keys.c @@ -814,9 +814,9 @@ void Key_EnableTextInput( qboolean enable, qboolean force ) OSK_EnableTextInput( enable, force ); return; } - if( enable && ( !host.textmode || force ) ) + if( enable && ( !host.textmode || force )) Platform_EnableTextInput( true ); - else if( !enable ) + else if( !enable && ( host.textmode || force )) Platform_EnableTextInput( false ); host.textmode = enable;