From e6181dfcce4d3c997fecfcef623ce0c713268788 Mon Sep 17 00:00:00 2001 From: relrelb Date: Fri, 22 Oct 2021 12:07:41 +0300 Subject: [PATCH] Revert "avm1: Don't warn in case a method doesn't exist" This reverts commit 54d417c539d2406b5fe6afdce8372347f40213dd, because it no longer necessary as the warning was removed in the previous commit. --- core/src/avm1.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/avm1.rs b/core/src/avm1.rs index 08d98e9f0..baf3eb7d0 100644 --- a/core/src/avm1.rs +++ b/core/src/avm1.rs @@ -330,9 +330,7 @@ impl<'gc> Avm1<'gc> { active_clip, ); - if obj.has_property(&mut activation, name) { - let _ = obj.call_method(name, args, &mut activation); - } + let _ = obj.call_method(name, args, &mut activation); } pub fn notify_system_listeners(