We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da9cfa commit 7d2ebdeCopy full SHA for 7d2ebde
components/candle/challengeService.ts
@@ -674,6 +674,13 @@ export class ChallengeService extends ChallengeRegistry {
674
(<ChallengeDefinitionLike>challenge?.Definition)?.Context || {},
675
}
676
677
+ if (data[challengeId].CurrentState !== "Start") {
678
+ // this is how the game reads the current state
679
+ data[challengeId].State.CurrentState =
680
+ data[challengeId].CurrentState
681
+ // TODO: also add $StateEntryTime here
682
+ }
683
+
684
const dependencies = this.getDependenciesForChallenge(
685
challengeId,
686
gameVersion,
0 commit comments