fix shop option cursor indexing (#4601)
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
This commit is contained in:
parent
f9691b872b
commit
a7157bbe9a
|
@ -577,6 +577,10 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
|
|||
this.getUi().clearText();
|
||||
this.eraseCursor();
|
||||
|
||||
// Reset cursor positions
|
||||
this.cursor = 0;
|
||||
this.rowCursor = 0;
|
||||
|
||||
/* Multiplies the fade time duration by the speed parameter so that it is always constant, and avoids "flashbangs" at game speed x5 */
|
||||
this.scene.hideShopOverlay(750 * this.scene.gameSpeed);
|
||||
this.scene.hideLuckText(250);
|
||||
|
|
Loading…
Reference in New Issue