From aee5f32bc3426203f723ef9b25fcde4a9d618216 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 26 Mar 2024 10:08:17 -0400 Subject: [PATCH] Properly lapse terrain --- src/phases.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/phases.ts b/src/phases.ts index f72394add..6c1901627 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -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(); } }