Change last save interval to correct value

pull/895/head
Flashfyre 2024-05-15 00:56:17 -04:00
parent 67c18a15e2
commit c6973365cb
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@ export class EncounterPhase extends BattlePhase {
this.scene.ui.setMode(Mode.MESSAGE).then(() => {
if (!this.loaded) {
this.scene.gameData.saveAll(this.scene, true, battle.waveIndex % 10 === 1 || this.scene.lastSavePlayTime >= 10).then(success => {
this.scene.gameData.saveAll(this.scene, true, battle.waveIndex % 10 === 1 || this.scene.lastSavePlayTime >= 300).then(success => {
this.scene.disableMenu = false;
if (!success)
return this.scene.reset(true);