Remove latent isNullOrUndefined

This commit is contained in:
Sirz Benjie 2025-09-16 19:07:51 -05:00
parent 2561b7ea67
commit f743dc7648
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -10752,7 +10752,7 @@ export function initMoves() {
.condition(
() => {
const weather = globalScene.arena.weather;
if (isNullOrUndefined(weather) || weather.isEffectSuppressed()) {
if (weather == null || weather.isEffectSuppressed()) {
return false;
}
return weather.weatherType === WeatherType.HAIL || weather.weatherType === WeatherType.SNOW;