Explicit catch instead of falsy

This commit is contained in:
Matthew Kroeger 2024-07-10 15:15:38 -05:00 committed by torranx
parent cc7b9de320
commit 6145b75350
1 changed files with 1 additions and 1 deletions

View File

@ -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);