From 6145b753500fc43cd687b023d0f2edd8f5f13b7c Mon Sep 17 00:00:00 2001 From: Matthew Kroeger Date: Wed, 10 Jul 2024 15:15:38 -0500 Subject: [PATCH] Explicit catch instead of falsy --- src/ui/modifier-select-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/modifier-select-ui-handler.ts b/src/ui/modifier-select-ui-handler.ts index c5dd1abaf83..c1f5124e8c8 100644 --- a/src/ui/modifier-select-ui-handler.ts +++ b/src/ui/modifier-select-ui-handler.ts @@ -252,7 +252,7 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler { this.setCursor(0); const phase = this.scene.getCurrentPhase() as SelectModifierPhase; - phase.getRerollCount() ? this.setRowCursor(this.scene.rerollTarget) : this.setRowCursor(1); + phase.getRerollCount() > 0 ? this.setRowCursor(this.scene.rerollTarget) : this.setRowCursor(1); handleTutorial(this.scene, Tutorial.Select_Item).then(() => { this.setCursor(0);