From b6e552ace2fb6cb46d1125c65471b9d86bd3b982 Mon Sep 17 00:00:00 2001 From: acamilo Date: Tue, 29 Sep 2026 00:18:27 +0000 Subject: [PATCH] tests: the row 62 east test's first sighting as a plain tuple --- services/flysim/crates/flysim/tests/rom_macros_mode.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services/flysim/crates/flysim/tests/rom_macros_mode.rs b/services/flysim/crates/flysim/tests/rom_macros_mode.rs index f52ea9b..4abc583 100644 --- a/services/flysim/crates/flysim/tests/rom_macros_mode.rs +++ b/services/flysim/crates/flysim/tests/rom_macros_mode.rs @@ -4077,7 +4077,7 @@ fn row62_east_of_mt_moon_go_heal_is_not_dealt_back_into_the_mountain() { let mut east_frames = 0u32; let mut on_route_4 = 0u32; let mut go_heal_east = 0u32; - let mut first: Option<(u32, Option<(u8, u8, u8)>)> = None; + let mut first: Option<(u32, (u8, u8, u8))> = None; run.force_hot = Some("macro_go_objective"); for frame in 0..12_000u32 { run.frame(); @@ -4090,8 +4090,9 @@ fn row62_east_of_mt_moon_go_heal_is_not_dealt_back_into_the_mountain() { } if run.layer.bound_channels().iter().any(|channel| channel == "macro_go_heal") { go_heal_east += 1; - let here = at(&mut run); - first.get_or_insert((frame, here)); + if let Some(here) = at(&mut run) { + first.get_or_insert((frame, here)); + } } } eprintln!(