mirror of
https://github.com/thepeacockproject/Peacock
synced 2024-11-22 22:12:45 +01:00
Fix planning page challenges ui (#95)
This commit is contained in:
parent
926168bbd1
commit
7b4e417cb0
@ -734,6 +734,7 @@ export class ChallengeService extends ChallengeRegistry {
|
||||
progression: ChallengeProgressionData,
|
||||
gameVersion: GameVersion,
|
||||
userId: string,
|
||||
isDestination = false,
|
||||
): CompiledChallengeTreeData {
|
||||
return {
|
||||
// GetChallengeTreeFor
|
||||
@ -746,7 +747,7 @@ export class ChallengeService extends ChallengeRegistry {
|
||||
},
|
||||
Drops: [],
|
||||
Completed: progression.Completed,
|
||||
IsPlayable: challenge.IsPlayable || false,
|
||||
IsPlayable: isDestination,
|
||||
IsLocked: challenge.IsLocked || false,
|
||||
HideProgression: false,
|
||||
CategoryName:
|
||||
@ -827,6 +828,7 @@ export class ChallengeService extends ChallengeRegistry {
|
||||
progression,
|
||||
gameVersion,
|
||||
userId,
|
||||
true, //isDestination
|
||||
),
|
||||
UserCentricContract:
|
||||
challenge.Type === "contract"
|
||||
|
Loading…
Reference in New Issue
Block a user