Reconcile resumed campaigns before validation
This commit is contained in:
parent
8a81ea2c1d
commit
36bcc842cf
1 changed files with 4 additions and 3 deletions
|
|
@ -1190,9 +1190,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
let initial_location_ids = campaign.locations.keys().cloned().collect::<Vec<_>>();
|
||||
(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| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue