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:
parent
cb11a1646e
commit
e3912f099a
@ -242,9 +242,9 @@ export class HitsCategoryService {
|
|||||||
for (const id of escalations) {
|
for (const id of escalations) {
|
||||||
const contract = controller.resolveContract(id)
|
const contract = controller.resolveContract(id)
|
||||||
|
|
||||||
if (!contract) {
|
if (!contract) continue
|
||||||
continue
|
|
||||||
}
|
if (contract.Metadata.Season === -1) continue
|
||||||
|
|
||||||
const isPeacock = contract.Metadata.Season === 0
|
const isPeacock = contract.Metadata.Season === 0
|
||||||
const season = isPeacock
|
const season = isPeacock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user