Skip to content

Commit

Permalink
Fix the runner using the wrong dictionary
Browse files Browse the repository at this point in the history
ooprs!!
  • Loading branch information
gingershaped authored Dec 4, 2024
1 parent 30da6c7 commit 152a513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/latest/scripts/workers/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const dictPromise = Promise.all([
fetch(`${dataUri}/LongDictionary.txt`, { cache: "force-cache" }).then((response) => response.text()),
]).then((responses) => {
Vyxal.setShortDict(responses[0]);
Vyxal.setLongDict(responses[0]);
Vyxal.setLongDict(responses[1]);
});

self.addEventListener("message", function(message: MessageEvent<RunRequest>) {
Expand Down Expand Up @@ -48,4 +48,4 @@ self.addEventListener("message", function(message: MessageEvent<RunRequest>) {

self.postMessage({
type: "ready",
});
});

0 comments on commit 152a513

Please sign in to comment.