Fix title querying with placeholder save slot
This commit is contained in:
1 parent
9b03d6f8d3
commit
fc06c4d9e1
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user