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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user