Skip to content

Commit 123f9e0

Browse files
committed
avm2: Fix null parameter error message
1 parent f97827e commit 123f9e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/avm2/parameters.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl<'gc> ParametersExt<'gc> for &[Value<'gc>] {
174174
pub fn null_parameter_error<'gc>(activation: &mut Activation<'_, 'gc>, name: &str) -> Error<'gc> {
175175
let error = type_error(
176176
activation,
177-
&format!("Parameter {name} must be non-null."),
177+
&format!("Error #2007: Parameter {name} must be non-null."),
178178
2007,
179179
);
180180
match error {

0 commit comments

Comments
 (0)