core: Fix off-by-one in `MovieClip.frame_exists_within_scene`

This commit is contained in:
Lord-McSweeney 2024-07-15 10:00:04 +03:00 committed by Lord-McSweeney
parent 9065ce3a03
commit cd9cfa6b26
1 changed files with 1 additions and 1 deletions

View File

@ -1392,7 +1392,7 @@ impl<'gc> MovieClip<'gc> {
let frame = frame.unwrap();
if scene <= frame {
let mut end = self.total_frames();
let mut end = self.total_frames() + 1;
for Scene {
start: new_scene_start,
..