fix ts error

This commit is contained in:
ImperialSympathizer 2024-09-17 23:28:46 -04:00
parent 3991a8205a
commit 8abe06334e
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ export async function initBattleWithEnemyConfig(scene: BattleScene, partyConfig:
// Set AI type
if (!isNullOrUndefined(config.aiType)) {
enemyPokemon.aiType = config.aiType;
enemyPokemon.aiType = config.aiType!;
}
// Set moves