engine: client: fixed forced text input turn off in Key_EnableTextInput

This commit is contained in:
SNMetamorph 2022-04-22 21:34:54 +04:00 committed by a1batross
parent d3e213aa1b
commit b175d6d95f
1 changed files with 2 additions and 2 deletions

View File

@ -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;