Properly lapse terrain

This commit is contained in:
Flashfyre 2024-03-26 10:08:17 -04:00
parent c9eac1f510
commit aee5f32bc3
1 changed files with 3 additions and 0 deletions

View File

@ -1881,6 +1881,9 @@ export class TurnEndPhase extends FieldPhase {
if (this.scene.arena.weather && !this.scene.arena.weather.lapse())
this.scene.arena.trySetWeather(WeatherType.NONE, false);
if (this.scene.arena.terrain && !this.scene.arena.terrain.lapse())
this.scene.arena.trySetTerrain(TerrainType.NONE, false);
this.end();
}
}