From f876dcf76d4e31955dc7c683a08537b8d6c64ccf Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Thu, 15 May 2025 22:27:53 +0200 Subject: [PATCH] Fixed options not clearing after item transfer --- src/ui/party-ui-handler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/party-ui-handler.ts b/src/ui/party-ui-handler.ts index 9ea6dab6e3e..b76be9f88ee 100644 --- a/src/ui/party-ui-handler.ts +++ b/src/ui/party-ui-handler.ts @@ -441,7 +441,7 @@ export default class PartyUiHandler extends MessageUiHandler { const ui = this.getUi(); this.clearOptions(); ui.playSelect(); - // TODO: Figure out how this edge case works + // In release mode, we do not ask for confirmation when clicking release. if (this.partyUiMode === PartyUiMode.RELEASE) { this.doRelease(this.cursor); return true; @@ -526,6 +526,7 @@ export default class PartyUiHandler extends MessageUiHandler { } } this.clearTransfer(); + this.clearOptions(); ui.playSelect(); return true; } @@ -579,7 +580,6 @@ export default class PartyUiHandler extends MessageUiHandler { partySlot.slotDescriptionLabel.setText(ableToTransferText); partySlot.slotDescriptionLabel.setVisible(true); } - this.clearOptions(); ui.playSelect(); return true;