diff --git a/engine/client/in_touch.c b/engine/client/in_touch.c index 363e583e..fe2006ce 100644 --- a/engine/client/in_touch.c +++ b/engine/client/in_touch.c @@ -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" );