Stop weather being regenerated on save load

pull/226/head
Xavion3 2024-04-22 02:43:50 +10:00
parent 0e9881e351
commit a345850062
1 changed files with 2 additions and 1 deletions

View File

@ -794,6 +794,7 @@ export class EncounterPhase extends BattlePhase {
pokemon.resetBattleData(); pokemon.resetBattleData();
} }
if (!this.loaded)
this.scene.arena.trySetWeather(getRandomWeatherType(this.scene.arena), false); this.scene.arena.trySetWeather(getRandomWeatherType(this.scene.arena), false);
const enemyField = this.scene.getEnemyField(); const enemyField = this.scene.getEnemyField();