Explicit catch instead of falsy
This commit is contained in:
parent
cc7b9de320
commit
6145b75350
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue