mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Remove latent isNullOrUndefined
This commit is contained in:
parent
2561b7ea67
commit
f743dc7648
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user