mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
fix ts error
This commit is contained in:
parent
3991a8205a
commit
8abe06334e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user