mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-30 10:46:05 +00:00
minor changes to encounterTestUtils.ts
This commit is contained in:
parent
233f6072d6
commit
5cded35e36
@ -23,7 +23,7 @@ export async function runSelectMysteryEncounterOption(game: GameManager, optionN
|
|||||||
// select the desired option
|
// select the desired option
|
||||||
game.onNextPrompt("MysteryEncounterPhase", Mode.MYSTERY_ENCOUNTER, () => {
|
game.onNextPrompt("MysteryEncounterPhase", Mode.MYSTERY_ENCOUNTER, () => {
|
||||||
const uiHandler = game.scene.ui.getHandler<MysteryEncounterUiHandler>();
|
const uiHandler = game.scene.ui.getHandler<MysteryEncounterUiHandler>();
|
||||||
uiHandler.unblockInput();
|
uiHandler.unblockInput(); // input are blocked by 1s to prevent accidental input. Tests need to handle that
|
||||||
|
|
||||||
switch (optionNo) {
|
switch (optionNo) {
|
||||||
case 1:
|
case 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user