core: Change some uses of Avm1Activation::from_stub to from_nothing
This commit is contained in:
parent
43fdd30fc1
commit
fd538915b3
|
@ -213,9 +213,10 @@ impl<'gc> Avm1Button<'gc> {
|
|||
default: bool,
|
||||
) -> bool {
|
||||
if let Value::Object(object) = self.object() {
|
||||
let mut activation = Activation::from_stub(
|
||||
let mut activation = Activation::from_nothing(
|
||||
context.reborrow(),
|
||||
ActivationIdentifier::root("[AVM1 Boolean Property]"),
|
||||
self.avm1_root(),
|
||||
);
|
||||
if let Ok(value) = object.get(name, &mut activation) {
|
||||
match value {
|
||||
|
|
Loading…
Reference in New Issue