mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-24 01:02:19 +02:00
Fix - need to test though
This commit is contained in:
parent
eea12a62f6
commit
71156faa6a
@ -238,7 +238,7 @@ export class GameOverPhase extends BattlePhase {
|
|||||||
gameVersion: this.scene.game.config.gameVersion,
|
gameVersion: this.scene.game.config.gameVersion,
|
||||||
timestamp: new Date().getTime(),
|
timestamp: new Date().getTime(),
|
||||||
challenges: this.scene.gameMode.challenges.map(c => new ChallengeData(c)),
|
challenges: this.scene.gameMode.challenges.map(c => new ChallengeData(c)),
|
||||||
mysteryEncounterType: this.scene.currentBattle.mysteryEncounter?.encounterType,
|
mysteryEncounterType: this.scene.currentBattle.mysteryEncounter?.encounterType ?? -1,
|
||||||
mysteryEncounterSaveData: this.scene.mysteryEncounterSaveData
|
mysteryEncounterSaveData: this.scene.mysteryEncounterSaveData
|
||||||
} as SessionSaveData;
|
} as SessionSaveData;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user