mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-07 00:27:28 +00:00
Fix session slot always saving to first slot in offline mode
This commit is contained in:
parent
3ec9081a77
commit
e993bf9945
@ -569,7 +569,7 @@ export class GameData {
|
|||||||
resolve(true);
|
resolve(true);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
localStorage.setItem('sessionData', btoa(JSON.stringify(sessionData)));
|
localStorage.setItem(`sessionData${scene.sessionSlotId ? scene.sessionSlotId : ''}`, btoa(JSON.stringify(sessionData)));
|
||||||
|
|
||||||
console.debug('Session data saved');
|
console.debug('Session data saved');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user