1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

Fix snowdrop having graduation's challenges (#217)

* fix snowdrop having graduation's challenges

* add exception for snowdrop

* Revert "fix snowdrop having graduation's challenges"

This reverts commit 6c53961157.

* also fix for h2

---------

Co-authored-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
This commit is contained in:
moonysolari 2023-04-16 01:22:06 -04:00 committed by GitHub
parent 1591a90194
commit de98595db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -596,7 +596,12 @@ export class ChallengeService extends ChallengeRegistry {
{
type: ChallengeFilterType.Contract,
contractId: contractId,
locationId: contract.Metadata.Location,
locationId:
contract.Metadata.Id ===
"aee6a16f-6525-4d63-a37f-225e293c6118" &&
gameVersion !== "h1"
? "LOCATION_ICA_FACILITY_SHIP"
: contract.Metadata.Location,
isFeatured: contract.Metadata.Type === "featured",
difficulty,
},