mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-27 01:39:34 +02:00
Fix undefined double battle state
This commit is contained in:
parent
761ba69aba
commit
7084155186
@ -289,6 +289,7 @@ export function exportWave(scene: BattleScene): Wave {
|
|||||||
shop: "",
|
shop: "",
|
||||||
biome: getBiomeName(scene.arena.biomeType)
|
biome: getBiomeName(scene.arena.biomeType)
|
||||||
}
|
}
|
||||||
|
if (ret.double == undefined) ret.double = false;
|
||||||
switch (ret.type) {
|
switch (ret.type) {
|
||||||
case "wild":
|
case "wild":
|
||||||
case "boss":
|
case "boss":
|
||||||
|
Loading…
Reference in New Issue
Block a user