mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Fixed options not clearing after item transfer
This commit is contained in:
parent
3e9beb3ec5
commit
f876dcf76d
@ -441,7 +441,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
const ui = this.getUi();
|
const ui = this.getUi();
|
||||||
this.clearOptions();
|
this.clearOptions();
|
||||||
ui.playSelect();
|
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) {
|
if (this.partyUiMode === PartyUiMode.RELEASE) {
|
||||||
this.doRelease(this.cursor);
|
this.doRelease(this.cursor);
|
||||||
return true;
|
return true;
|
||||||
@ -526,6 +526,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.clearTransfer();
|
this.clearTransfer();
|
||||||
|
this.clearOptions();
|
||||||
ui.playSelect();
|
ui.playSelect();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -579,7 +580,6 @@ export default class PartyUiHandler extends MessageUiHandler {
|
|||||||
partySlot.slotDescriptionLabel.setText(ableToTransferText);
|
partySlot.slotDescriptionLabel.setText(ableToTransferText);
|
||||||
partySlot.slotDescriptionLabel.setVisible(true);
|
partySlot.slotDescriptionLabel.setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.clearOptions();
|
this.clearOptions();
|
||||||
ui.playSelect();
|
ui.playSelect();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user