mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-29 20:27:18 +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);
|
||||
});
|
||||
} else {
|
||||
localStorage.setItem('sessionData', btoa(JSON.stringify(sessionData)));
|
||||
localStorage.setItem(`sessionData${scene.sessionSlotId ? scene.sessionSlotId : ''}`, btoa(JSON.stringify(sessionData)));
|
||||
|
||||
console.debug('Session data saved');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user