1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-16 11:03:30 +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

View File

@ -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