mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 16:09:27 +02:00
Minor compile fix
This commit is contained in:
parent
f5b44036e5
commit
b74849d3e2
@ -1,6 +1,8 @@
|
||||
import { GameMode } from "#app/game-mode";
|
||||
import { globalScene } from "#app/global-scene";
|
||||
import type { OptionSelectConfig } from "#app/ui/abstact-option-select-ui-handler";
|
||||
import { Button } from "#enums/buttons";
|
||||
import { GameModes } from "#enums/game-modes";
|
||||
import { UiMode } from "#enums/ui-mode";
|
||||
// biome-ignore lint/performance/noNamespaceImport: See `src/system/game-data.ts`
|
||||
import * as Modifier from "#modifiers/modifier";
|
||||
@ -582,7 +584,7 @@ class SessionSlot extends Phaser.GameObjects.Container {
|
||||
let visibleModifierIndex = 0;
|
||||
for (const m of data.modifiers) {
|
||||
const modifier = m.toModifier(Modifier[m.className]);
|
||||
if (modifier instanceof PokemonHeldItemModifier) {
|
||||
if (modifier instanceof Modifier.PokemonHeldItemModifier) {
|
||||
continue;
|
||||
}
|
||||
const icon = modifier?.getIcon(false);
|
||||
|
Loading…
Reference in New Issue
Block a user