avm2: fix button typo

This commit is contained in:
Chris Midgley 2021-09-17 20:44:43 +01:00 committed by Adrian Wielgosik
parent 909428943b
commit 758d84f549
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ impl<'gc> TDisplayObject<'gc> for Avm2Button<'gc> {
up_state.construct_frame(context);
}
let down_state = self.0.read().up_state;
let down_state = self.0.read().down_state;
if let Some(down_state) = down_state {
down_state.construct_frame(context);
}