client: touch: fix minor typo that prevented editing touch buttons commands
This commit is contained in:
parent
c76752cc5f
commit
884a3c66ac
1 changed files with 1 additions and 1 deletions
|
@ -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" );
|
||||
|
|
Loading…
Add table
Reference in a new issue