Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 31, 2024
1 parent d6e7ba4 commit 0ab72d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/LoginThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -18830,6 +18830,8 @@ async function handleRequests(parentPort2, msg, priv) {
save = await fsp2.readFile(`data/players/${safeName}.sav`);
}
} else {
console.log(await fetch(`data/players/${safeName}.sav`)).url;

const saveFile = await fetch(`data/players/${safeName}.sav`);
if (saveFile.ok) {
save = new Uint8Array(await saveFile.arrayBuffer());
Expand Down

0 comments on commit 0ab72d4

Please sign in to comment.