From b5abdc01131e6dc0ff209aa2d370708b03fd2acc Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 19 Apr 2024 18:56:45 -0400 Subject: [PATCH] Fix error sound after selecting a biome --- src/phases.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 66c07c89d..04d712cdc 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -1042,13 +1042,15 @@ export class SelectBiomePhase extends BattlePhase { .map(b => Array.isArray(b) ? b[0] : b); }, this.scene.currentBattle.waveIndex); const biomeSelectItems = biomeChoices.map(b => { - return { + const ret: OptionSelectItem = { label: getBiomeName(b), handler: () => { this.scene.ui.setMode(Mode.MESSAGE); setNextBiome(b); + return true; } }; + return ret; }); this.scene.ui.setMode(Mode.OPTION_SELECT, { options: biomeSelectItems,