avm2: Fix a RangeError message

This commit is contained in:
nosamu 2023-09-08 03:38:31 -05:00 committed by Aaron Hill
parent a3e0a84a3d
commit a4a9653ecd
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ pub fn get_child_at<'gc>(
// Flash error message: The supplied index is out of bounds. // Flash error message: The supplied index is out of bounds.
Err(Error::AvmError(range_error( Err(Error::AvmError(range_error(
activation, activation,
"Display object container has no child with id {index}", &format!("Display object container has no child with id {index}"),
2006, 2006,
)?)) )?))
}; };