From daa74cf15aecbb32cd02789f06fbc6894a9e8792 Mon Sep 17 00:00:00 2001 From: Lurkars Date: Fri, 9 Feb 2024 08:14:28 +0100 Subject: [PATCH] hotfix scenario summary --- package-lock.json | 4 ++-- package.json | 2 +- src/app/ui/footer/scenario/summary/scenario-summary.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ed28366f..48a8f3f03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gloomhavensecretariat", - "version": "0.86.3", + "version": "0.86.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "gloomhavensecretariat", - "version": "0.86.3", + "version": "0.86.4", "license": "AGPL3", "dependencies": { "@angular/animations": "^17.1.2", diff --git a/package.json b/package.json index 2f080a037..3307b9fa7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gloomhavensecretariat", - "version": "0.86.3", + "version": "0.86.4", "license": "AGPL3", "description": "Gloomhaven Secretariat is a Gloomhaven/Frosthaven Companion app.", "homepage": "https://gloomhaven-secretariat.de", diff --git a/src/app/ui/footer/scenario/summary/scenario-summary.ts b/src/app/ui/footer/scenario/summary/scenario-summary.ts index 6c3955671..16fe32c37 100644 --- a/src/app/ui/footer/scenario/summary/scenario-summary.ts +++ b/src/app/ui/footer/scenario/summary/scenario-summary.ts @@ -396,7 +396,7 @@ export class ScenarioSummaryComponent { } addWeek(): boolean { - return ((gameManager.game.party.campaignMode || this.forceCampaign) && this.success && !this.conclusionOnly && !this.scenario.solo) && !this.scenario.conclusion && !this.scenario.forcedLinks && settingsManager.settings.automaticPassTime && settingsManager.settings.partySheet; + return gameManager.fhRules() && ((gameManager.game.party.campaignMode || this.forceCampaign) && this.success && !this.conclusionOnly && !this.scenario.solo) && !this.scenario.conclusion && !this.scenario.forcedLinks && settingsManager.settings.automaticPassTime && settingsManager.settings.partySheet; } weekSections(): ScenarioData[] {