2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

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

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;