Fix session slot always saving to first slot in offline mode
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…
Reference in New Issue