From 98f5a67d39bc466ca2158eb527456b722fb643a7 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Thu, 6 Mar 2025 22:35:04 -0800 Subject: [PATCH] Remove extra `()` --- src/field/arena.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/arena.ts b/src/field/arena.ts index 8be85f9081f..08ba3542fc2 100644 --- a/src/field/arena.ts +++ b/src/field/arena.ts @@ -274,7 +274,7 @@ export class Arena { const oldWeatherType = this.weather?.weatherType || WeatherType.NONE; - if (this.weather?.isImmutable() && (![ WeatherType.HARSH_SUN, WeatherType.HEAVY_RAIN, WeatherType.STRONG_WINDS, WeatherType.NONE ].includes(weather))) { + if (this.weather?.isImmutable() && ![ WeatherType.HARSH_SUN, WeatherType.HEAVY_RAIN, WeatherType.STRONG_WINDS, WeatherType.NONE ].includes(weather)) { globalScene.unshiftPhase(new CommonAnimPhase(undefined, undefined, CommonAnim.SUNNY + (oldWeatherType - 1), true)); globalScene.queueMessage(getLegendaryWeatherContinuesMessage(oldWeatherType)!); return false;