mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 11:42:21 +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
|
// Set AI type
|
||||||
if (!isNullOrUndefined(config.aiType)) {
|
if (!isNullOrUndefined(config.aiType)) {
|
||||||
enemyPokemon.aiType = config.aiType;
|
enemyPokemon.aiType = config.aiType!;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set moves
|
// Set moves
|
||||||
|
Loading…
Reference in New Issue
Block a user