From fcb43b0f2cdd4b178f465aa12de4fdd8f04f800c Mon Sep 17 00:00:00 2001 From: Frutescens Date: Sat, 6 Jul 2024 11:42:11 -0700 Subject: [PATCH] Quick fix --- src/ui/confirm-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/confirm-ui-handler.ts b/src/ui/confirm-ui-handler.ts index 49c4782a8a7..d6dadee15cb 100644 --- a/src/ui/confirm-ui-handler.ts +++ b/src/ui/confirm-ui-handler.ts @@ -58,7 +58,7 @@ export default class ConfirmUiHandler extends AbstractOptionSelectUiHandler { this.setCursor(this.switchCheck ? this.switchCheckCursor : 0); return true; - } else if (args.length >= 2 && args[0] instanceof Function && args[1] instanceof Function) { + } else if (args.length === 2 && args[0] instanceof Function && args[1] instanceof Function) { const config: OptionSelectConfig = { options: [ {