Fix undefined double battle state

This commit is contained in:
RedstonewolfX 2024-07-12 23:49:51 -04:00
parent 761ba69aba
commit 7084155186

View File

@ -289,6 +289,7 @@ export function exportWave(scene: BattleScene): Wave {
shop: "",
biome: getBiomeName(scene.arena.biomeType)
}
if (ret.double == undefined) ret.double = false;
switch (ret.type) {
case "wild":
case "boss":