mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 05:49:32 +02:00
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);
|
this.setCursor(0);
|
||||||
const phase = this.scene.getCurrentPhase() as SelectModifierPhase;
|
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(() => {
|
handleTutorial(this.scene, Tutorial.Select_Item).then(() => {
|
||||||
this.setCursor(0);
|
this.setCursor(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user