mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Force loadSaveSlot to set the logged in user's last session
This commit is contained in:
parent
47dc3c25f2
commit
8e647b3a17
@ -177,6 +177,9 @@ export class TitlePhase extends Phase {
|
||||
.then((success: boolean) => {
|
||||
if (success) {
|
||||
this.loaded = true;
|
||||
if (loggedInUser) {
|
||||
loggedInUser.lastSessionSlot = slotId;
|
||||
}
|
||||
globalScene.ui.showText(i18next.t("menu:sessionSuccess"), null, () => this.end());
|
||||
} else {
|
||||
this.end();
|
||||
|
Loading…
Reference in New Issue
Block a user