From aaa9cf469f05eeda335352b5405638a10127e82a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 30 Aug 2026 05:37:07 +0200 Subject: [PATCH] Allow final-only newspaper recovery --- .../src/bin/ghostlight-strategic-smoke.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs b/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs index 14aa0be..b9841dc 100644 --- a/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs +++ b/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs @@ -845,7 +845,7 @@ async fn main() -> anyhow::Result<()> { "GHOSTLIGHT_STRATEGIC_NEWSPAPER_RECOVERY_START_WAVE", 1, 1, - wave_count, + wave_count + 1, )?; let max_rejected_pulses_per_wave = bounded_environment_usize("GHOSTLIGHT_STRATEGIC_MAX_REJECTED_PULSES_PER_WAVE", 2, 0, 4)?; @@ -2876,6 +2876,11 @@ mod tests { missing_newspaper_report_indices(&reports, 3).unwrap(), vec![2] ); + assert!( + missing_newspaper_report_indices(&reports, 4) + .unwrap() + .is_empty() + ); } #[test]