We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e01f163 commit 710d2edCopy full SHA for 710d2ed
core/src/avm1/globals/netconnection.rs
@@ -271,8 +271,10 @@ fn call<'gc>(
271
.coerce_to_string(activation)?;
272
let mut arguments = Vec::new();
273
274
- for arg in &args[2..] {
275
- arguments.push(Rc::new(serialize(activation, *arg)));
+ if args.len() > 2 {
+ for arg in &args[2..] {
276
+ arguments.push(Rc::new(serialize(activation, *arg)));
277
+ }
278
}
279
280
if let Some(handle) = net_connection.handle() {
0 commit comments