mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-01 13:47:05 +00:00
Update getFinalSessionData() to collect Mystery Encounter data
This commit is contained in:
parent
494ef4435e
commit
89f3efd620
@ -231,7 +231,9 @@ export class GameOverPhase extends BattlePhase {
|
||||
trainer: this.scene.currentBattle.battleType === BattleType.TRAINER ? new TrainerData(this.scene.currentBattle.trainer) : null,
|
||||
gameVersion: this.scene.game.config.gameVersion,
|
||||
timestamp: new Date().getTime(),
|
||||
challenges: this.scene.gameMode.challenges.map(c => new ChallengeData(c))
|
||||
challenges: this.scene.gameMode.challenges.map(c => new ChallengeData(c)),
|
||||
mysteryEncounter: scene.currentBattle.mysteryEncounter,
|
||||
mysteryEncounterData: scene.mysteryEncounterData
|
||||
} as SessionSaveData;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user