Fixed typo in comments
parent
4b077e6b21
commit
3e5a9f2100
|
|
@ -793,7 +793,7 @@ export class EncounterPhase extends BattlePhase {
|
||||||
this.scene.gameData.saveSession(this.scene, true).then(() => this.doEncounter());
|
this.scene.gameData.saveSession(this.scene, true).then(() => this.doEncounter());
|
||||||
});
|
});
|
||||||
|
|
||||||
// Syncing with the server every 3 waves
|
// Syncing with the server every 5 waves
|
||||||
if (battle.waveIndex % 5 == 0) {
|
if (battle.waveIndex % 5 == 0) {
|
||||||
this.scene.gameData.saveSystem().then(success => {
|
this.scene.gameData.saveSystem().then(success => {
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue