Fix title querying with placeholder save slot
parent
9b03d6f8d3
commit
fc06c4d9e1
|
@ -567,6 +567,8 @@ export class GameData {
|
|||
|
||||
getSession(slotId: integer): Promise<SessionSaveData> {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
if (slotId < 0)
|
||||
return resolve(null);
|
||||
const handleSessionData = async (sessionDataStr: string) => {
|
||||
try {
|
||||
const sessionData = this.parseSessionData(sessionDataStr);
|
||||
|
|
Loading…
Reference in New Issue