Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jdarpinian committed May 5, 2024
1 parent 65dde2b commit 63957db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/web/ioquake3.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
if (!buffers[files.indexOf(`pak0.pk3`)])
throw new Error(`pak0.pk3 not found at ${pakPathname}/pak0.pk3.`);
if (buffers[files.indexOf(`pak${MAX_PAK_FILES+1}.pk3`)])
throw new Error(`If you want to load more than ${MAX_PAK_FILES} pak files, you need to modify the code in prerun-setup-filesystem.js.`);
throw new Error(`If you want to load more than ${MAX_PAK_FILES} pak files, you need to modify the code in ioquake3.html.`);
module.FS.mkdirTree(`/home/web_user/.q3a/${pakBasename}`);
for (let i = files.length - 1; i >= 0; i--) {
if (buffers[i]) {
Expand Down

0 comments on commit 63957db

Please sign in to comment.