diff --git a/core/src/avm2/object.rs b/core/src/avm2/object.rs index 96cc254a5..21e623cb4 100644 --- a/core/src/avm2/object.rs +++ b/core/src/avm2/object.rs @@ -909,21 +909,7 @@ pub trait TObject<'gc>: 'gc + Collect + Debug + Into> + Clone + Copy Ok(default_value.clone()) } - TraitKind::Method { - disp_id, method, .. - } => { - let function = - FunctionObject::from_method(activation, method.clone(), scope, Some(receiver)); - self.install_method( - activation.context.gc_context, - trait_name, - *disp_id, - function, - is_final, - ); - - Ok(function.into()) - } + TraitKind::Method { .. } => Ok(Value::Undefined), TraitKind::Getter { disp_id, method, .. } => {