fix shop option cursor indexing

This commit is contained in:
ImperialSympathizer 2024-10-06 13:11:11 -04:00
parent f9691b872b
commit cbeee15316

View File

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