Adds playtime to gameInfo

This commit is contained in:
William Burleson 2024-05-11 04:22:35 -04:00
parent a52383fdbf
commit 284eaceea9

View File

@ -1971,6 +1971,7 @@ export default class BattleScene extends SceneBase {
updateGameInfo(): void { updateGameInfo(): void {
const gameInfo = { const gameInfo = {
playTime: this.sessionPlayTime ? this.sessionPlayTime : 0,
gameMode: this.currentBattle ? this.gameMode.getName() : 'Title', gameMode: this.currentBattle ? this.gameMode.getName() : 'Title',
biome: this.currentBattle ? getBiomeName(this.arena.biomeType) : '', biome: this.currentBattle ? getBiomeName(this.arena.biomeType) : '',
wave: this.currentBattle?.waveIndex || 0, wave: this.currentBattle?.waveIndex || 0,