avm2: Fix a RangeError message
This commit is contained in:
parent
a3e0a84a3d
commit
a4a9653ecd
|
@ -146,7 +146,7 @@ pub fn get_child_at<'gc>(
|
|||
// Flash error message: The supplied index is out of bounds.
|
||||
Err(Error::AvmError(range_error(
|
||||
activation,
|
||||
"Display object container has no child with id {index}",
|
||||
&format!("Display object container has no child with id {index}"),
|
||||
2006,
|
||||
)?))
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue