mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-21 17:19:15 +01:00
[Bug] Achievements/Vouchers doesn't update if Cursor doesn't move (#3747)
Co-authored-by: frutescens <info@laptop>
This commit is contained in:
parent
03de6cfe36
commit
1ab472cbdf
@ -211,12 +211,11 @@ export default class AchvsUiHandler extends MessageUiHandler {
|
|||||||
if (this.currentPage === Page.ACHIEVEMENTS) {
|
if (this.currentPage === Page.ACHIEVEMENTS) {
|
||||||
this.currentPage = Page.VOUCHERS;
|
this.currentPage = Page.VOUCHERS;
|
||||||
this.updateVoucherIcons();
|
this.updateVoucherIcons();
|
||||||
this.setCursor(0);
|
|
||||||
} else if (this.currentPage === Page.VOUCHERS) {
|
} else if (this.currentPage === Page.VOUCHERS) {
|
||||||
this.currentPage = Page.ACHIEVEMENTS;
|
this.currentPage = Page.ACHIEVEMENTS;
|
||||||
this.updateAchvIcons();
|
this.updateAchvIcons();
|
||||||
this.setCursor(0);
|
|
||||||
}
|
}
|
||||||
|
this.setCursor(0, true);
|
||||||
this.mainContainer.update();
|
this.mainContainer.update();
|
||||||
}
|
}
|
||||||
if (button === Button.CANCEL) {
|
if (button === Button.CANCEL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user