avm2: `toString` of stage objects should work the same way as other objects

This commit is contained in:
David Wendt 2020-10-17 23:02:08 -04:00 committed by Mike Welsh
parent dc629af177
commit 827567bb58
1 changed files with 0 additions and 4 deletions

View File

@ -310,10 +310,6 @@ impl<'gc> TObject<'gc> for StageObject<'gc> {
.into())
}
fn to_string(&self, _mc: MutationContext<'gc, '_>) -> Result<Value<'gc>, Error> {
Ok("todo: movieclip values".into())
}
fn value_of(&self, _mc: MutationContext<'gc, '_>) -> Result<Value<'gc>, Error> {
Ok(Value::Object(Object::from(*self)))
}