1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-03-14 12:54:28 +01:00

Stop escalation challenges from showing in Snug

This commit is contained in:
AnthonyFuller 2023-04-14 23:54:31 +01:00
parent 14faf6ed25
commit 7f86bddf21

@ -554,7 +554,12 @@ export class ChallengeService extends ChallengeRegistry {
// Rocky is the only parent location with no escalations. TODO: change this when pontus is added.
// H2 & H1 have the escalation challenges in "feats"
if (location !== "LOCATION_PARENT_ROCKY" && gameVersion === "h3") {
if (
!["LOCATION_PARENT_SNUG", "LOCATION_PARENT_ROCKY"].includes(
location,
) &&
gameVersion === "h3"
) {
this.getGroupedChallengesByLoc(
filter,
"GLOBAL_ESCALATION_CHALLENGES",