From 4abe3ea566d01981fa31cfa60eeb3a9c99fdf1ed Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Wed, 21 May 2025 18:54:40 -0500 Subject: [PATCH] Remove `undefined` parameter pass Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com> --- src/ui/fight-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/fight-ui-handler.ts b/src/ui/fight-ui-handler.ts index ccb16c68541..6dbbcd47300 100644 --- a/src/ui/fight-ui-handler.ts +++ b/src/ui/fight-ui-handler.ts @@ -391,7 +391,7 @@ export default class FightUiHandler extends UiHandler implements InfoToggle { const opponents = (globalScene.getCurrentPhase() as CommandPhase).getPokemon().getOpponents(); opponents.forEach(opponent => { - (opponent as EnemyPokemon).updateEffectiveness(undefined); + (opponent as EnemyPokemon).updateEffectiveness(); }); }