mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 16:26:25 +00:00
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.getUi().clearText();
|
||||||
this.eraseCursor();
|
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 */
|
/* 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.hideShopOverlay(750 * this.scene.gameSpeed);
|
||||||
this.scene.hideLuckText(250);
|
this.scene.hideLuckText(250);
|
||||||
|
Loading…
Reference in New Issue
Block a user