Open Lord-McSweeney opened 8 months ago
In core/src/avm1/function.rs
core/src/avm1/function.rs
pub struct Avm1Function<'gc> { ... base_clip: DisplayObject<'gc>, // <-- This should be a string path to the base clip ... }
I haven't tested whether this is version-gated or not.
The function references whatever DO is at the path instead of keeping a reference to a specific DO.
Champion Archer (#6124) is broken due to this.
Desktop app
Irrelevant
This is the root cause of #6124.
Test for this: function_base_clip_readded.zip
Describe the bug
In
core/src/avm1/function.rs
I haven't tested whether this is version-gated or not.
Expected behavior
The function references whatever DO is at the path instead of keeping a reference to a specific DO.
Content Location
Champion Archer (#6124) is broken due to this.
Affected platform
Desktop app
Operating system
Irrelevant
Browser
Irrelevant
Additional information
This is the root cause of #6124.