mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
client: touch: fix minor typo that prevented editing touch buttons commands
This commit is contained in:
committed by
Alibek Omarov
parent
c76752cc5f
commit
884a3c66ac
@@ -761,7 +761,7 @@ static void Touch_SetCommand_f( void )
|
||||
{
|
||||
touch_button_t *button = Touch_FindButtonNoPattern( &touch.list_user, Cmd_Argv( 1 ), Cmd_CurrentCommandIsPrivileged( ));
|
||||
|
||||
if( !button )
|
||||
if( button )
|
||||
Touch_SetCommand( button, Cmd_Argv( 2 ) );
|
||||
else
|
||||
Con_Printf( S_ERROR "no such button" );
|
||||
|
||||
Reference in New Issue
Block a user