Route battle continues through sortie prep
This commit is contained in:
@@ -319,11 +319,15 @@ export class TitleScene extends Phaser.Scene {
|
||||
|
||||
const battleId = battleIdForCampaignStep(campaign.step);
|
||||
if (battleId) {
|
||||
await this.navigateTo('BattleScene', {
|
||||
battleId,
|
||||
selectedSortieUnitIds: campaign.selectedSortieUnitIds,
|
||||
sortieFormationAssignments: campaign.sortieFormationAssignments
|
||||
});
|
||||
if (campaign.step !== 'first-battle' && campaign.firstBattleReport?.outcome === 'victory') {
|
||||
await this.navigateTo('CampScene', {
|
||||
openSortiePrep: true,
|
||||
skipIntroStory: true
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
await this.navigateTo('BattleScene', { battleId });
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user