1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-03-21 00:04:22 +01:00

Skip adding escalations with a season value of -1 to the ContractAttack page

This commit is contained in:
AnthonyFuller 2024-04-10 11:53:46 +01:00
parent cb11a1646e
commit e3912f099a

@ -242,9 +242,9 @@ export class HitsCategoryService {
for (const id of escalations) {
const contract = controller.resolveContract(id)
if (!contract) {
continue
}
if (!contract) continue
if (contract.Metadata.Season === -1) continue
const isPeacock = contract.Metadata.Season === 0
const season = isPeacock