From 36bcc842cf41c58f1e4e0135549b98ae51a57fc5 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 31 Aug 2026 22:12:01 +0200 Subject: [PATCH] Reconcile resumed campaigns before validation --- .../src/bin/ghostlight-strategic-smoke.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs b/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs index bc19556..edeefc0 100644 --- a/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs +++ b/crates/ghostlight-dungeon/src/bin/ghostlight-strategic-smoke.rs @@ -1190,9 +1190,7 @@ async fn main() -> anyhow::Result<()> { let initial_location_ids = campaign.locations.keys().cloned().collect::>(); (campaign, vec![], vec![], None, initial_location_ids) }; - if resume { - ghostlight_dungeon::compiler::validate_campaign_runtime(&campaign)?; - } else { + if !resume { ghostlight_dungeon::compiler::validate_campaign_seed(&campaign)?; } if !resume { @@ -1262,6 +1260,9 @@ async fn main() -> anyhow::Result<()> { anyhow::bail!("fission civic reconciliation checkpoint disagrees with campaign") } } + if resume { + ghostlight_dungeon::compiler::validate_campaign_runtime(&campaign)?; + } let region_requests = std::env::var("GHOSTLIGHT_WORLD_REGION_REQUESTS") .ok() .map(|value| {