core: Remove unused parameter of `Avm1Button::from_swf_tag`
This commit is contained in:
parent
e78bf30d58
commit
29ae39a2d1
|
@ -42,7 +42,6 @@ impl<'gc> Avm1Button<'gc> {
|
|||
pub fn from_swf_tag(
|
||||
button: &swf::Button,
|
||||
source_movie: &SwfSlice,
|
||||
_library: &crate::library::Library<'gc>,
|
||||
gc_context: gc_arena::MutationContext<'gc, '_>,
|
||||
) -> Self {
|
||||
let mut actions = vec![];
|
||||
|
|
|
@ -2657,12 +2657,8 @@ impl<'gc, 'a> MovieClipData<'gc> {
|
|||
let movie = self.movie();
|
||||
let library = context.library.library_for_movie_mut(movie.clone());
|
||||
if library.avm_type() == AvmType::Avm1 {
|
||||
let button = Avm1Button::from_swf_tag(
|
||||
&swf_button,
|
||||
&self.static_data.swf,
|
||||
context.library,
|
||||
context.gc_context,
|
||||
);
|
||||
let button =
|
||||
Avm1Button::from_swf_tag(&swf_button, &self.static_data.swf, context.gc_context);
|
||||
context
|
||||
.library
|
||||
.library_for_movie_mut(movie)
|
||||
|
|
Loading…
Reference in New Issue